PHPMyAdmin File Inclusion Arbitrary Command Execution Vulnerability
BID:2642
Info
PHPMyAdmin File Inclusion Arbitrary Command Execution Vulnerability
| Bugtraq ID: | 2642 |
| Class: | Input Validation Error |
| CVE: |
CVE-2001-0478 |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 23 2001 12:00AM |
| Updated: | Jul 11 2009 06:06AM |
| Credit: | This vulnerability was announced to Bugtraq in a Secure Reality Security Advisory posted on April 24, 2001. |
| Vulnerable: |
phpMyAdmin phpMyAdmin 2.1 |
| Not Vulnerable: | |
Discussion
PHPMyAdmin File Inclusion Arbitrary Command Execution Vulnerability
phpMyAdmin is a freely available, open source software package maintained by the phpMyAdmin Development Team. phpMyAdmin provides a graphical interface and friendly controls to MySQL.
A problem with the software package could allow arbitrary file inclusion. Due to the insufficient validation of input by the sql.php script, it is possible to supply an include file to the sql.php script, which will result in the code in the include file being executed. A remote user with knowledge of files on the local host, or the ability to upload an include file, may specify the file to be included in execution, which could result in code supplied include file being executed.
Therefore, it is possible for a remote user to supply an include file to the sql.php script, and execute arbitrary code.
phpMyAdmin is a freely available, open source software package maintained by the phpMyAdmin Development Team. phpMyAdmin provides a graphical interface and friendly controls to MySQL.
A problem with the software package could allow arbitrary file inclusion. Due to the insufficient validation of input by the sql.php script, it is possible to supply an include file to the sql.php script, which will result in the code in the include file being executed. A remote user with knowledge of files on the local host, or the ability to upload an include file, may specify the file to be included in execution, which could result in code supplied include file being executed.
Therefore, it is possible for a remote user to supply an include file to the sql.php script, and execute arbitrary code.
Exploit / POC
PHPMyAdmin File Inclusion Arbitrary Command Execution Vulnerability
Currently the SecurityFocus staff are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Currently the SecurityFocus staff are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution / Fix
PHPMyAdmin File Inclusion Arbitrary Command Execution Vulnerability
Solution:
Patches available:
phpMyAdmin phpMyAdmin 2.1
Solution:
Patches available:
phpMyAdmin phpMyAdmin 2.1
-
Secure Reality 2.2.1 phpMyAdmin-SecureReality.diff
http://www.securereality.com.au/patches/phpMyAdmin-SecureReality.diff
References
PHPMyAdmin File Inclusion Arbitrary Command Execution Vulnerability
References:
References: