pHNews 'header.php' SQL Injection Vulnerability
BID:33797
Info
pHNews 'header.php' SQL Injection Vulnerability
| Bugtraq ID: | 33797 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Feb 17 2009 12:00AM |
| Updated: | Feb 19 2009 11:37PM |
| Credit: | x0r |
| Vulnerable: |
pHMicroboard pHNews alpha 1 |
| Not Vulnerable: | |
Discussion
pHNews 'header.php' SQL Injection Vulnerability
pHNews 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.
pHNews alpha 1 is affected; other versions may also be vulnerable.
pHNews 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.
pHNews alpha 1 is affected; other versions may also be vulnerable.
Exploit / POC
pHNews 'header.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/header.php?mod=' union select 0,0,0,concat(id,char(45),UName,char(45),Paswd),0,0 from Users--
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/header.php?mod=' union select 0,0,0,concat(id,char(45),UName,char(45),Paswd),0,0 from Users--
Solution / Fix
pHNews 'header.php' SQL Injection Vulnerability
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].