Title: phpMyAdmin Multiple Input Validation Vulnerabilities
Severity: HIGH
Description:
phpMyAdmin is a freely available tool that provides a web interface for handling MySQL administrative tasks.
phpMyAdmin is prone to multiple vulnerabilities. The issues result from insufficient sanitization of user-supplied data. The following specific issues can affect the application:
It is reported that a malicious attacker can add arbitrary servers to phpMyAdmin. By constructing a URI request for the phpMyAdmin 'left.php' script an attacker may specify and add an arbitrary SQL server. The server properties may be passed to 'left.php' through the 'cfg' URI parameter.
A remote attacker may exploit this vulnerability to replace server configurations and as a result introduce a malicious SQL server into the phpMyAdmin controlled server list.
phpMyAdmin is reported prone to a remote PHP code execution vulnerability. The issue exists when the variable $cfg['LeftFrameLight'] is set to FALSE in the file 'config.inc.php'. It is reported that a malicious database table name beginning with "'" will escape the quotes in a PHP eval() statement and will thereby permit an attacker to execute arbitrary PHP code.
Because the MySQL database does not permit table names that consist of meta-characters, a remote attacker may exploit this issue by crafting a fake database server that will respond to the affected software with a malicious table name designed to exploit this vulnerability. The attacker will take advantage of the first vulnerability in order to exploit this issue.
The vendor reportes that to be vulnerable to these issues, the web server hosting the application:
- must not be running with safe mode on
- $cfg['LeftFrameLight'] in config.inc.php must be set to FALSE
- there must not be a firewall blocking requests from the web server to the attacking host
Affected Products:
- Gentoo Linux 0.5.0
- Gentoo Linux 0.7.0
- Gentoo Linux 1.1.0a
- Gentoo Linux 1.2.0
- Gentoo Linux 1.4.0
- Gentoo Linux 1.4.0 _rc1
- Gentoo Linux 1.4.0 _rc2
- Gentoo Linux 1.4.0 _rc3
- phpMyAdmin phpMyAdmin 2.5.1
- phpMyAdmin phpMyAdmin 2.5.2
- phpMyAdmin phpMyAdmin 2.5.4
- phpMyAdmin phpMyAdmin 2.5.5
- phpMyAdmin phpMyAdmin 2.5.5 -rc1
- phpMyAdmin phpMyAdmin 2.5.5 -rc2
- phpMyAdmin phpMyAdmin 2.5.5 pl1
- phpMyAdmin phpMyAdmin 2.5.6 -rc1
- phpMyAdmin phpMyAdmin 2.5.7
References:
- OWASP: Main Vendor Homepage
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.