<?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>169376</bug_id>
          
          <creation_ts>2007-03-04 22:45 0000</creation_ts>
          <short_desc>dev-db/phpmyadmin: PHP Executor Deep Recursion Stack Overflow  [MOPB]</short_desc>
          <delta_ts>2007-05-30 19:46:13 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://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2007-3</bug_file_loc>
          <status_whiteboard>B3? [noglsa]</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>169372</dependson>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>rl03@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>rl03@gentoo.org</who>
            <bug_when>2007-03-04 22:45:49 0000</bug_when>
            <thetext>Announcement-ID: PMASA-2007-3
Date: 2007-03-02

Summary:
PHP Executor Deep Recursion Stack Overflow 

Description:
Stefan Esser from the Hardened-PHP Project is publishing the Month of PHP Bugs. One of these PHP bugs can be triggered by phpMyAdmin which uses a recursive function in its normal operation.


Severity:
We consider this vulnerability to be serious. 

Affected versions:
All versions prior to 2.10.0.2. 

Solution:
Upgrade to phpMyAdmin 2.10.0.2 or newer. Note that upgrading phpMyAdmin does not protect a server against an attacker that targets other vulnerable PHP applications. 

Patches:
Patches are available in this tracker:http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1671813&amp;group_id=23067&amp;atid=377408 

Reference:
http://www.php-security.org/MOPB/MOPB-02-2007.html 

For further information and in case of questions, please contact the phpMyAdmin team. Our website is http://www.phpmyadmin.net/.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rl03@gentoo.org</who>
            <bug_when>2007-03-04 22:46:11 0000</bug_when>
            <thetext>2.10.0.2 is in the tree</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vorlon@gentoo.org</who>
            <bug_when>2007-03-05 20:27:32 0000</bug_when>
            <thetext>Thanks Renat

arches please test phpMyAdmin 2.10.0.2 and mark stable if possible</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>angelos@gentoo.org</who>
            <bug_when>2007-03-05 20:38:57 0000</bug_when>
            <thetext>After creating a database:
Warning: require_once(./db_details_structure.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/localhost/htdocs/phpmyadmin/db_create.php on line 42
Selecting a database results in a 404, same with tables, access.log:
127.0.0.1 localhost - [05/Mar/2007:21:38:32 +0100] &quot;GET /phpmyadmin/db_details_structure.php?server=1&amp;db=angelos&amp;table=&amp;lang=de-utf-8&amp;collation_connection=utf8_unicode_ci HTTP/1.1&quot; 404 345 &quot;http://localhost/phpmyadmin/navigation.php?token=f9addbcfe4fc8145f643f8aefd391b97&quot; &quot;Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.2) Gecko/20070303 Firefox/2.0.0.2&quot;
127.0.0.1 localhost - [05/Mar/2007:21:38:33 +0100] &quot;GET /phpmyadmin/tbl_properties_structure.php?db=angelos&amp;token=f9addbcfe4fc8145f643f8aefd391b97&amp;table=users HTTP/1.1&quot; 404 345 &quot;http://localhost/phpmyadmin/navigation.php?server=1&amp;db=angelos&amp;table=&amp;lang=de-utf-8&amp;collation_connection=utf8_unicode_ci&quot; &quot;Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.2) Gecko/20070303 Firefox/2.0.0.2&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-03-06 15:46:55 0000</bug_when>
            <thetext>Works for me...

x86 stable.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2007-03-06 18:42:43 0000</bug_when>
            <thetext>works here, too. ppc64 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>angelos@gentoo.org</who>
            <bug_when>2007-03-06 22:52:17 0000</bug_when>
            <thetext>Hmm, works after unmerging, removing the old phpmyadmin directory and emerging a new, clean version - simply upgrading didn&apos;t work</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2007-03-07 03:26:05 0000</bug_when>
            <thetext>Stable for HPPA (killerfox).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>beandog@gentoo.org</who>
            <bug_when>2007-03-08 14:06:39 0000</bug_when>
            <thetext>amd64 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dertobi123@gentoo.org</who>
            <bug_when>2007-03-08 17:32:58 0000</bug_when>
            <thetext>ppc stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gustavoz@gentoo.org</who>
            <bug_when>2007-03-08 17:41:54 0000</bug_when>
            <thetext>sparc stable.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>yoswink@gentoo.org</who>
            <bug_when>2007-03-12 09:29:47 0000</bug_when>
            <thetext>Stable on alpha</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-03-14 00:34:05 0000</bug_when>
            <thetext>i don&apos;t know how to handle that kind of bugs that seem to belong to PHP rather that to the applications using PHP. Personnally i tend to think that&apos;s a PHP vulnerability.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2007-03-14 07:51:46 0000</bug_when>
            <thetext>This seems like a PHP vuln to me. Upgrading phpmyadmin is only a workaround for phpmyadmin users.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-03-15 22:07:17 0000</bug_when>
            <thetext>i fully agree but i don&apos;t know in which PHP version this is fixed.


BTW i vote NOGLSA since it&apos;s a PHP bug</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2007-03-16 07:51:33 0000</bug_when>
            <thetext>I agree on the NO GLSA part if we&apos;ll have a PHP GLSA.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-03-26 22:18:11 0000</bug_when>
            <thetext>then let&apos;s close it as soon as the dependent bug 169372 is glsa-sent</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vorlon@gentoo.org</who>
            <bug_when>2007-04-12 15:11:43 0000</bug_when>
            <thetext>agreed on no glsa and updating status accordingly</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2007-05-02 12:03:37 0000</bug_when>
            <thetext>Pushing it to enhancement until it can be closed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rl03@gentoo.org</who>
            <bug_when>2007-05-28 00:43:23 0000</bug_when>
            <thetext>so what&apos;s the deal here?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2007-05-28 06:11:26 0000</bug_when>
            <thetext>Waiting for PHP GLSA to be sent, nothing else I think.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-05-30 19:46:13 0000</bug_when>
            <thetext>GLSA 200705-19 was issued a few days ago, closing then.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>