<?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>195707</bug_id>
          
          <creation_ts>2007-10-13 15:37 0000</creation_ts>
          <short_desc>dev-db/phpmyadmin &lt; 2.11.1.1 &quot;setup.php&quot; Cross-Site Scripting Vulnerability (CVE-2007-5386)</short_desc>
          <delta_ts>2007-10-25 18:51:33 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/27173/</bug_file_loc>
          <status_whiteboard>B4 [noglsa]</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>195843</dependson>
    
    <dependson>196237</dependson>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>keytoaster@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>cla@gentoo.org</cc>
    
    <cc>mysql-bugs@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>keytoaster@gentoo.org</who>
            <bug_when>2007-10-13 15:37:37 0000</bug_when>
            <thetext>Omer Singer has reported a vulnerability in phpMyAdmin, which can be exploited by malicious people to conduct cross-site scripting attacks.

Input passed via the URL is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user&apos;s browser session in context of an affected site.

Successful exploitation requires that the user is running a browser that has not URL-encoded the request (e.g. Internet Explorer 6).

The vulnerability is reported in version 2.11.1. Other versions may also be affected.

Solution:
Fixed in the SVN repository.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>keytoaster@gentoo.org</who>
            <bug_when>2007-10-13 15:40:26 0000</bug_when>
            <thetext>Maintainers, please provide an updated ebuild.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wrobel@gentoo.org</who>
            <bug_when>2007-10-14 06:32:19 0000</bug_when>
            <thetext>phpmyadmin-2.11.1 is in the tree including the patch for the issue.

Target archs: alpha amd64 hppa ppc ppc64 sparc x86</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cla@gentoo.org</who>
            <bug_when>2007-10-14 12:06:10 0000</bug_when>
            <thetext>Stable on x86</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-10-14 14:15:43 0000</bug_when>
            <thetext>Err, wait, the thing is borked (Bug 195843).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2007-10-14 18:26:23 0000</bug_when>
            <thetext>I reverted stable x86 KEYWORD back to ~x86</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>scytheman666@gmail.com</who>
            <bug_when>2007-10-14 20:06:13 0000</bug_when>
            <thetext>with this bug, this one  http://bugs.gentoo.org/show_bug.cgi?id=183114 should be redundant?

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wrobel@gentoo.org</who>
            <bug_when>2007-10-15 04:56:40 0000</bug_when>
            <thetext>Hrm bug #195843 is nothing I can do much about at the moment. I checked the code but it seems to be an upstream issue. 

I inquired at their forum:

http://sourceforge.net/forum/message.php?msg_id=4568637

To be honest this just looks like sloppy programming since its a php warning.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wrobel@gentoo.org</who>
            <bug_when>2007-10-15 04:57:17 0000</bug_when>
            <thetext>(In reply to comment #6)
&gt; with this bug, this one  http://bugs.gentoo.org/show_bug.cgi?id=183114 should
&gt; be redundant?
&gt; 

in principle yes, but lets see how this progresses first.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wrobel@gentoo.org</who>
            <bug_when>2007-10-15 07:56:28 0000</bug_when>
            <thetext>Hm bug #195843 got closed again. Security please advise: Should we continue stabilization or wait one week to see if there are further reports? I tend to waiting since it&apos;s XSS but on the other hand the app is stable on many archs.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2007-10-15 22:49:44 0000</bug_when>
            <thetext>(In reply to comment #9)
&gt; Hm bug #195843 got closed again. Security please advise: Should we continue
&gt; stabilization or wait one week to see if there are further reports? I tend to
&gt; waiting since it&apos;s XSS but on the other hand the app is stable on many archs.

2.11.1.1 was released today, including the security fix. If the source is identical to our release plus patch, we can stable that. Otherwise, we should just bump it to the latest release.
Since no one was able to reproduce this issue anymore, it might be related to outdated caches?

Upstream advisory:
http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2007-5
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wrobel@gentoo.org</who>
            <bug_when>2007-10-16 08:00:26 0000</bug_when>
            <thetext>(In reply to comment #10)
&gt; (In reply to comment #9)
&gt; &gt; Hm bug #195843 got closed again. Security please advise: Should we continue
&gt; &gt; stabilization or wait one week to see if there are further reports? I tend to
&gt; &gt; waiting since it&apos;s XSS but on the other hand the app is stable on many archs.
&gt; 
&gt; 2.11.1.1 was released today, including the security fix. If the source is
&gt; identical to our release plus patch, we can stable that. Otherwise, we should
&gt; just bump it to the latest release.

Bumped it even though 2.11.1.1 probably does not contain more than the fix. In any case I think it will be less confusing to the user if we release 2.11.1.1

Please mark the new version stable then. 

&gt; Since no one was able to reproduce this issue anymore, it might be related to
&gt; outdated caches?
&gt; 
&gt; Upstream advisory:
&gt; http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2007-5
&gt; 

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2007-10-16 11:03:50 0000</bug_when>
            <thetext>Arches, please test and mark stable dev-db/phpmyadmin-2.11.1.1
Target keywords are: &quot;alpha amd64 hppa ppc ppc64 sparc x86&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2007-10-16 14:44:54 0000</bug_when>
            <thetext>ppc64 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2007-10-16 15:23:08 0000</bug_when>
            <thetext>Stable for HPPA.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cla@gentoo.org</who>
            <bug_when>2007-10-16 20:16:34 0000</bug_when>
            <thetext>Finally stable on x86 ;)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wrobel@gentoo.org</who>
            <bug_when>2007-10-18 05:16:26 0000</bug_when>
            <thetext>phpmyadmin managed to release a second sec fix. So forget about 2.11.1.1 and move to 2.11.1.2 (bug #196237).

Removing all arches that need to mark 2.11.1.2 stable and webapps here. Leaving open for security since I don&apos;t know if there is anything left you still have to do.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-10-22 20:24:01 0000</bug_when>
            <thetext>non-persistent XSS. Only vulnerable with IE6 and not in its default conf. I vote noglsa.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2007-10-22 20:40:53 0000</bug_when>
            <thetext>Voting NO.

This one should be closed as soon as alpha and sparc stable 2.11.1.2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2007-10-25 18:51:33 0000</bug_when>
            <thetext>This one can be closed now as well.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>