Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55606 - dev-db/phpmyadmin: php code injection in phpMyAdmin-2.5.7
Summary: dev-db/phpmyadmin: php code injection in phpMyAdmin-2.5.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Security
URL: http://eagle.kecapi.com/sec/fd/phpMyA...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-29 12:08 UTC by Matthias Geerdsen (RETIRED)
Modified: 2011-10-30 22:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Geerdsen (RETIRED) gentoo-dev 2004-06-29 12:08:45 UTC
Beginning of announcement taken from the website (posted on bugtraq too):

There is a vulnerability in phpMyAdmin version 2.5.7.
This vulnerability would allow remote user to inject  php codes 
to be executed by eval() function (in file left.php).
However, This vulnerability only effect if variable $cfg['LeftFrameLight']  
set to    FALSE (in file config.inc.php)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Kurt Lieber (RETIRED) gentoo-dev 2004-06-29 12:15:27 UTC
Tom -- 

can you review/patch as necessary?
Comment 2 Tom Payne (RETIRED) gentoo-dev 2004-06-29 13:29:44 UTC
phpMyAdmin, as distributed by Gentoo, is NOT vulnerable.

Gentoo uses a patched version of config.inc.php which does not change the value of $cfg['LeftFrameLight']. Thus the default value of $cfg['LeftFrameLight'] = TRUE is used.

Users who have changed this variable themselves will be vulnerable.

Please let me know when a patch for 2.5.7 is available -- there's nothing on the website at the moment.

Best regards,

Tom
Comment 3 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2004-07-01 11:30:12 UTC
patch is out:

http://www.phpmyadmin.net/
http://sourceforge.net/forum/forum.php?forum_id=387635

phpMyAdmin 2.5.7-pl1 is released   lem9 - 2004-06-30 12:05  
This is phpMyAdmin 2.5.7, patch level 1, fixing the vulnerability dated 2004-06-29 released on BUGTRAQ. See Documentation.html, FAQ 8.2.