PHP MicroCMS Local File Include and SQL Injection Vulnerabilities
BID:43232
Info
PHP MicroCMS Local File Include and SQL Injection Vulnerabilities
| Bugtraq ID: | 43232 |
| Class: | Input Validation Error |
| CVE: |
CVE-2010-3480 CVE-2010-3481 |
| Remote: | Yes |
| Local: | No |
| Published: | Sep 15 2010 12:00AM |
| Updated: | Apr 13 2015 09:02PM |
| Credit: | Abysssec |
| Vulnerable: |
ApPHP PHP MicroCMS 1.0.1 |
| Not Vulnerable: | |
Discussion
PHP MicroCMS Local File Include and SQL Injection Vulnerabilities
PHP MicroCMS is prone to a local file-include vulnerability and multiple SQL-injection vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker can exploit the local file-include vulnerability using directory-traversal strings to view and execute arbitrary local files within the context of the webserver process. Information harvested may aid in further attacks.
The attacker can exploit the SQL-injection vulnerabilities to compromise the application, access or modify data, exploit latent vulnerabilities in the underlying database, or bypass the authentication control.
PHP MicroCMS 1.0.1 is vulnerable; other versions may also be affected.
PHP MicroCMS is prone to a local file-include vulnerability and multiple SQL-injection vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker can exploit the local file-include vulnerability using directory-traversal strings to view and execute arbitrary local files within the context of the webserver process. Information harvested may aid in further attacks.
The attacker can exploit the SQL-injection vulnerabilities to compromise the application, access or modify data, exploit latent vulnerabilities in the underlying database, or bypass the authentication control.
PHP MicroCMS 1.0.1 is vulnerable; other versions may also be affected.
Exploit / POC
PHP MicroCMS Local File Include and SQL Injection Vulnerabilities
Attackers can exploit these issues via a browser.
Local file include:
The following example URI is available:
http://www.example.com/microcms/index.php?page=../include/base.inc.php%00
SQL injection:
The following example query data is available:
username: x' or '1'='1
password: x' or '1'='1
Attackers can exploit these issues via a browser.
Local file include:
The following example URI is available:
http://www.example.com/microcms/index.php?page=../include/base.inc.php%00
SQL injection:
The following example query data is available:
username: x' or '1'='1
password: x' or '1'='1
Solution / Fix
PHP MicroCMS Local File Include and SQL Injection Vulnerabilities
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].