Brooky CubeCart SQL Injection Vulnerability

BID:11337

Info

Brooky CubeCart SQL Injection Vulnerability

Bugtraq ID: 11337
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Oct 06 2004 12:00AM
Updated: Oct 06 2004 12:00AM
Credit: Pedro Sanches <[email protected]> disclosed this vulnerability.
Vulnerable: CubeCart CubeCart 2.0.1
Not Vulnerable:

Discussion

Brooky CubeCart SQL Injection Vulnerability

It is reported that CubeCart is susceptible to an SQL injection vulnerability. This issue is due to a failure of the application to properly sanitize user-supplied URI data prior to including it in an SQL query.

An attacker may exploit this issue to manipulate SQL queries, potentially revealing or corrupting sensitive database data. This issue may also facilitate attacks against the underlying database software.

This vulnerability is reported to exist in version 2.0.1 of CubeCart. Other versions may also be affected.

Exploit / POC

Brooky CubeCart SQL Injection Vulnerability

An exploit is not required. An example URI sufficient to exploit this vulnerability was provided:

http://www.example.com/store/index.php?cat_id=1 or 1=1

Solution / Fix

Brooky CubeCart SQL Injection Vulnerability

Solution:
The vendor has recommended the following fix:
INSERT
if (!is_numeric($cat_id))
unset($cat_id);

BEFORE
include("header.inc.php");

IN
index.php

References

Brooky CubeCart SQL Injection Vulnerability

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