News Script PHP Multiple Cross Site Scripting and SQL Injection Vulnerabilities
BID:54047
Info
News Script PHP Multiple Cross Site Scripting and SQL Injection Vulnerabilities
| Bugtraq ID: | 54047 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 16 2012 12:00AM |
| Updated: | Jun 16 2012 12:00AM |
| Credit: | Vulnerability Research Lab |
| Vulnerable: |
News Script PHP News Script PHP 1.2 |
| Not Vulnerable: | |
Discussion
News Script PHP Multiple Cross Site Scripting and SQL Injection Vulnerabilities
PAD Site Scripts is prone to multiple cross-site scripting and SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data.
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.
News Script PHP 1.2 is vulnerable; other versions may also be affected.
PAD Site Scripts is prone to multiple cross-site scripting and SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data.
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.
News Script PHP 1.2 is vulnerable; other versions may also be affected.
Exploit / POC
News Script PHP Multiple Cross Site Scripting and SQL Injection Vulnerabilities
An attacker can exploit these issues through a browser. To exploit a cross-site scripting issue, the attacker must entice an unsuspecting victim to follow a malicious URI.
The following example URIs are available:
http://www.example.com/news/preview.php?id=[SQL-INJECTION]
http://www.example.com/news/preview.php?p=[SQL-INJECTION]
http://www.example.com/news/admin.php?act=news&orderType=[ASC/DESC]&search=&orderBy=[SQL-INJECTION]
http://www.example.com/news/preview.php?id=`14&p=`&search=[CROSS SITE SCRIPTING]
http://www.example.com/news/admin.php?act=news&orderType=`[CROSS SITE SCRIPTING]
http://www.example.com/news/admin.php?act=news&orderType=[CROSS SITE SCRIPTING]]&search=&orderBy=[CROSS SITE SCRIPTING]
http://www.example.com/news/preview.php?act=news&orderType=[CROSS SITE SCRIPTING]
An attacker can exploit these issues through a browser. To exploit a cross-site scripting issue, the attacker must entice an unsuspecting victim to follow a malicious URI.
The following example URIs are available:
http://www.example.com/news/preview.php?id=[SQL-INJECTION]
http://www.example.com/news/preview.php?p=[SQL-INJECTION]
http://www.example.com/news/admin.php?act=news&orderType=[ASC/DESC]&search=&orderBy=[SQL-INJECTION]
http://www.example.com/news/preview.php?id=`14&p=`&search=[CROSS SITE SCRIPTING]
http://www.example.com/news/admin.php?act=news&orderType=`[CROSS SITE SCRIPTING]
http://www.example.com/news/admin.php?act=news&orderType=[CROSS SITE SCRIPTING]]&search=&orderBy=[CROSS SITE SCRIPTING]
http://www.example.com/news/preview.php?act=news&orderType=[CROSS SITE SCRIPTING]
Solution / Fix
News Script PHP Multiple Cross Site Scripting and SQL Injection 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
News Script PHP Multiple Cross Site Scripting and SQL Injection Vulnerabilities
References:
References:
- News Script PHP Homepage (News Script PHP)
- News Script PHP v1.2 - Multiple Web Vulnerabilites (Vulnerability Research Lab)