BaconMap Local File Include and SQL Injection Vulnerabilities
BID:43908
Info
BaconMap Local File Include and SQL Injection Vulnerabilities
| Bugtraq ID: | 43908 |
| Class: | Input Validation Error |
| CVE: |
CVE-2010-4800 CVE-2010-4801 |
| Remote: | Yes |
| Local: | No |
| Published: | Oct 11 2010 12:00AM |
| Updated: | Apr 13 2015 09:02PM |
| Credit: | John Leitch |
| Vulnerable: |
NMSU Research IT BaconMap 1.0 |
| Not Vulnerable: | |
Discussion
BaconMap Local File Include and SQL Injection Vulnerabilities
BaconMap is prone to a local file-include vulnerability and an SQL-injection vulnerability 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 vulnerability to compromise the application, access or modify data, exploit latent vulnerabilities in the underlying database, or bypass the authentication control.
BaconMap 1.0 is vulnerable; other versions may also be affected.
BaconMap is prone to a local file-include vulnerability and an SQL-injection vulnerability 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 vulnerability to compromise the application, access or modify data, exploit latent vulnerabilities in the underlying database, or bypass the authentication control.
BaconMap 1.0 is vulnerable; other versions may also be affected.
Exploit / POC
BaconMap Local File Include and SQL Injection Vulnerabilities
Attackers can exploit these issues via a browser.
The following example URIs are available:
Local file include:
http://www.example.com/baconmap/admin/updatelist.php?filepath=../includes/settings.php
SQL injection:
http://www.example.com/baconmap/doadd.php?type=[SQLi]&name=
Attackers can exploit these issues via a browser.
The following example URIs are available:
Local file include:
http://www.example.com/baconmap/admin/updatelist.php?filepath=../includes/settings.php
SQL injection:
http://www.example.com/baconmap/doadd.php?type=[SQLi]&name=
References
BaconMap Local File Include and SQL Injection Vulnerabilities
References:
References:
- Homepage (NMSU Research IT)