|
phpMyAdmin Configuration Manipulation and Code Injection
|
|
|
|
|
Secunia Advisory:
|
SA11974
|
|
|
Release Date:
|
2004-06-30
|
|
Last Update:
|
2004-07-02
|
|
|
Critical:
|

Moderately critical
|
|
Impact:
|
Security Bypass System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | phpMyAdmin 2.x
|
|
|
Want to know the next time vulnerabilities are fixed in this product? - Companies can be alerted via email and SMS! |
|
|
Description: Nasir Simbolon has reported two vulnerabilities in phpMyAdmin, allowing malicious people to manipulate certain configuration settings and inject arbitrary code.
1) It is possible to supply new configuration options in "left.php" to an array (e.g. the arrays storing mysql connection configuration details). This could potentially be exploited to access other mysql servers than those specified in the configuration file.
Example:
left.php?server=4&cfg[Servers][4][host]=hostname&cfg[Servers][4][port]=port
2) Certain input passed to an "eval" statement isn't properly filtered, which allows arbitrary PHP code to be injected.
Successful exploitation requires "$cfg['LeftFrameLight']" to bet set to "FALSE" in "config.inc.php".
The vulnerabilities have been reported in version 2.5.7. Prior versions may also be affected.
Solution: This has been fixed in version 2.5.7-pl1.
http://sourceforge.net/project/showfi...ackage_id=16462&release_id=249882
Provided and/or discovered by: Nasir Simbolon
Changelog: 2004-07-02: Updated solution.
Original Advisory: http://eagle.kecapi.com/sec/fd/phpMyAdmin.html
|
|
|
|
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|
|
|
|
35 Related Secunia Security Advisories, displaying 10
|
|
|
1. phpMyAdmin Cross-Site Scripting and Spoofing
|
|
2. phpMyAdmin Cross-Site Request Forgery Vulnerabilities
|
|
3. phpMyAdmin Cross-Site Scripting Vulnerabilities
|
|
4. phpMyAdmin Shared Host Information Disclosure
|
|
5. phpMyAdmin Username/Password Session File Information Disclosure
|
|
6. phpMyAdmin "$_REQUEST" SQL Injection Vulnerability
|
|
7. phpMyAdmin "convcharset" Cross-Site Scripting
|
|
8. phpMyAdmin Database Name SQL Injection and Script Insertion
|
|
9. phpMyAdmin "server_status.php" Cross-Site Scripting
|
|
10. phpMyAdmin "setup.php" Cross-Site Scripting Vulnerability
|
Show all related advisories
|
|
|
Send Feedback to Secunia
|
|
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.
Ideas, suggestions, and other feedback are most welcome.
|
|
|
|