<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>91303</bug_id>
          
          <creation_ts>2005-05-03 06:35 0000</creation_ts>
          <short_desc>net-proxy/oops: auth() Format String Flaw</short_desc>
          <delta_ts>2005-05-05 15:36:16 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Security</product>
          <component>Vulnerabilities</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://securitytracker.com/alerts/2005/May/1013864.html</bug_file_loc>
          <status_whiteboard>B1? [glsa] jaervosz</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>formula7@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>net-proxy@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>formula7@gentoo.org</who>
            <bug_when>2005-05-03 06:35:51 0000</bug_when>
            <thetext>CVE Reference:  CAN-2005-1121   (Links to External Site)  
 
Version(s): 1.5.23 and prior versions 
 
Description:  A format string vulnerability was reported in Oops! A remote user may be able to execute arbitrary code. 

The passwd_mysql/passwd_pgsql module auth() function contains a call to the my_xlog() function that does not include a format string specifier. A remote user can supply a specially crafted HTTP request to trigger the vulnerability and cause the service to crash or execute arbitrary code.

A demonstration exploit request is provided:

GET http://%s%s%s%s%s%s%s%s/ HTTP/1.0
Host: ghc.ru
Proxy-Authorization: Basic Z2hjOnJzdA==

The flaw resides in &apos;passwd_sql.c&apos;.

Edisan from RST/GHC reported this vulnerability. 
 
Impact:  A remote user can cause the service to crash or execute arbitrary code.
 
Solution:  A patch is available at:

http://zipper.paco.net/~igor/oops/diff_from_1.5.23.patch.gz</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2005-05-03 13:26:25 0000</bug_when>
            <thetext>net-proxy please advise.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mrness@gentoo.org</who>
            <bug_when>2005-05-03 15:36:10 0000</bug_when>
            <thetext>bug confirmed.
I&apos;ve bumped version to the current 1.5.24 pre-release and marked as stable on x86.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gustavoz@gentoo.org</who>
            <bug_when>2005-05-04 06:36:52 0000</bug_when>
            <thetext>sparc done.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lewk@gentoo.org</who>
            <bug_when>2005-05-05 15:36:16 0000</bug_when>
            <thetext>GLSA 200505-02, thanks everyone!</thetext>
          </long_desc>
      
    </bug>

</bugzilla>