<?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>198801</bug_id>
          <alias>CVE-2007-5976</alias>
          <creation_ts>2007-11-11 12:48 0000</creation_ts>
          <short_desc>dev-db/phpmyadmin &lt; 2.11.2.2 &quot;db_create.php&quot; persistent XSS and login XSS (CVE-2007-{5976,5977,6100})</short_desc>
          <delta_ts>2008-03-06 09:49:28 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>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://secunia.com/advisories/27630/</bug_file_loc>
          <status_whiteboard>B4 [noglsa]</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>eremini@ntlworld.com</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>mysql-bugs@gentoo.org</cc>
    
    <cc>ole+gentoo@ans.pl</cc>

      

      
          <long_desc isprivate="0">
            <who>eremini@ntlworld.com</who>
            <bug_when>2007-11-11 12:48:32 0000</bug_when>
            <thetext>When creating a new database, a malicious user can use a client-side Web proxy to place malicious code in the &quot;db&quot; parameter of the POST request. Since db_create.php does not properly sanitize user-supplied input, an administrator could face a persistent XSS attack when the database names are displayed.

Sample Exploit Code:
db=&gt;%22%27&gt;&lt;img%20src%3d%22javascript:alert(%27XSS%27)%22&gt;

2.11.2.1 is now out to fix this issue
From ChangeLog
- (2.11.2.1) fixed possible SQL injection using database name
- (2.11.2.1) fixed possible XSS in database name, 
  thanks to Omer Singer, The DigiTrust Group

Latest version in portage is 2.11.1.1, here&apos;s a full ChangeLog from that version
http://www.phpmyadmin.net/home_page/downloads.php?relnotes=0</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2007-11-11 13:40:36 0000</bug_when>
            <thetext>Web-apps, please advise.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eremini@ntlworld.com</who>
            <bug_when>2007-11-18 01:55:35 0000</bug_when>
            <thetext>This is now CVE-2007-5977 and CVE-2007-5976</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eremini@ntlworld.com</who>
            <bug_when>2007-11-20 18:59:31 0000</bug_when>
            <thetext>2.11.2.2 is now out fixing another XSS issue
http://www.nth-dimension.org.uk/pub/NDSA20071119.txt.asc</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2007-11-25 15:20:35 0000</bug_when>
            <thetext>CVE-2007-6100 to the third issue.

Web-apps, please bump this package.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wrobel@gentoo.org</who>
            <bug_when>2007-12-02 15:03:47 0000</bug_when>
            <thetext>Added phpmyadmin-2.11.2.2 to the tree.

Targets: alpha amd64 hppa ppc ppc64 sparc x86</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2007-12-02 18:50:03 0000</bug_when>
            <thetext>ppc64 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2007-12-03 08:16:56 0000</bug_when>
            <thetext>x86 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>beandog@gentoo.org</who>
            <bug_when>2007-12-04 02:26:09 0000</bug_when>
            <thetext>amd64 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2007-12-04 17:20:22 0000</bug_when>
            <thetext>Stable for HPPA.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dertobi123@gentoo.org</who>
            <bug_when>2007-12-04 19:23:19 0000</bug_when>
            <thetext>ppc stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-12-05 12:36:31 0000</bug_when>
            <thetext>alpha/sparc stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wrobel@gentoo.org</who>
            <bug_when>2007-12-05 12:47:12 0000</bug_when>
            <thetext>removed insecure version from the tree. webapps done here.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>py@gentoo.org</who>
            <bug_when>2007-12-10 22:04:44 0000</bug_when>
            <thetext>time for vote here. I vote NO.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2008-01-06 18:13:54 0000</bug_when>
            <thetext>I tend to vote YES.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2008-01-06 18:14:30 0000</bug_when>
            <thetext>Bah, wrong bug.

Voting NO and closing.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pva@gentoo.org</who>
            <bug_when>2008-03-06 09:49:28 0000</bug_when>
            <thetext>Does not affect current (2008.0) release. Removing release.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>