← Back to vulnerability index

XSS Vulnerability in Tomato Cart v1.1.8.1

Dogn├Ždis Ref.: DGS-SEC-11

CVE Ref: CVE-2013-2282

Release Date: 2013/03/01

Discover Credits: CodeV - Code Analyzer

Bulletin Author(s): LLaranjeira - CodeV Team

Contact: [email protected]

Type: Cross Site Scripting

Level: High (Low/High/Critical)

CVSS: 3.2 (Av:N/AC:M/Au:S/C:C/I:P/A:N)

Vulnerable Application: Tomato Cart v1.1.8.1

TomatoCart is a next generation open source shopping cart, branched from osCommerce 3 as a separate project.


File: app_root/templates/glass_gray/content/info/faqs.php Vulnerable Argument(s): $_GET['faqs_id']

line 67: if(question.getParent().id == 'faq<?php echo $_GET['faqs_id']; ?>')

Proof(s) of Concept:
function(e){question.addEvent('click', function(e){//

The referred vulnerabilities could be exploited through XSS (Cross-Site-Scripting) attacks.
Ultimately, the attacker could take complete control of the victims web-browser.
In a successful attack, the malicious script would be executed with the authenticated user permissions.

Generally, by exploiting this kind of vulnerability, it might be possible to achieve possible attack vectors to various kinds of attacks such as:
- Session/Cookie theft
- Account Hijacking
- Identity theft
- Accessing confidential resources
- Accessing pay content
- Account Denial of service

Aiming a correct resolution of the identified vulnerability, the data obtained through the $_GET['faqs_id'] input argument should be properly sanitized for HTML and following ECMAS usage.

Official Solution:
At the moment, there is no official solution for the reported vulnerabilities.

External References:

Download the Vulnerability Report (PDF)

← Back to vulnerability index