DHCart Multiple Cross Site Scripting And HTML Injection Vulnerabilities
BID:32117
Info
DHCart Multiple Cross Site Scripting And HTML Injection Vulnerabilities
| Bugtraq ID: | 32117 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-6297 |
| Remote: | Yes |
| Local: | No |
| Published: | Nov 04 2008 12:00AM |
| Updated: | Mar 27 2009 07:56PM |
| Credit: | Lostmon |
| Vulnerable: |
DHCart DHCart 3.84 |
| Not Vulnerable: |
DHCart DHCart 3.88 |
Discussion
DHCart Multiple Cross Site Scripting And HTML Injection Vulnerabilities
DHCart is prone to multiple cross-site scripting and HTML-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data.
Attacker-supplied HTML or JavaScript code could run in the context of the affected site, potentially allowing the attacker to steal cookie-based authentication credentials and to control how the site is rendered to the user; other attacks are also possible.
DHCart 3.84 is vulnerable; other versions may also be affected.
DHCart is prone to multiple cross-site scripting and HTML-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data.
Attacker-supplied HTML or JavaScript code could run in the context of the affected site, potentially allowing the attacker to steal cookie-based authentication credentials and to control how the site is rendered to the user; other attacks are also possible.
DHCart 3.84 is vulnerable; other versions may also be affected.
Exploit / POC
DHCart Multiple Cross Site Scripting And HTML Injection Vulnerabilities
Attackers can use a browser to exploit these issues.
The following example URIs are available:
http://www.example.com/order.php?dhaction=check&submit_domain=Register&domain=%22%3E%3Cscript%3Ealert%28%29%3C%2Fscript%3E&ext1=on
http://www.example.com/order.php?dhaction=add&d1=lalalalasss%22%3E%3Cscript%3Ealert(1)%3C/script%3E&x1=.com&r1=0&h1=1&addtocart1=on&n=3
Attackers can use a browser to exploit these issues.
The following example URIs are available:
http://www.example.com/order.php?dhaction=check&submit_domain=Register&domain=%22%3E%3Cscript%3Ealert%28%29%3C%2Fscript%3E&ext1=on
http://www.example.com/order.php?dhaction=add&d1=lalalalasss%22%3E%3Cscript%3Ealert(1)%3C/script%3E&x1=.com&r1=0&h1=1&addtocart1=on&n=3
Solution / Fix
DHCart Multiple Cross Site Scripting And HTML Injection Vulnerabilities
Solution:
The vendor has released an update. Please see the references for more information.
Solution:
The vendor has released an update. Please see the references for more information.
References
DHCart Multiple Cross Site Scripting And HTML Injection Vulnerabilities
References:
References:
- DHCart Homepage (DHCart)