CVE-2008-6985

Zen Cart 1.2.0-1.3.8a - SQL Injection via Shopping Cart ID Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2008-6985. PoCs published by GulfTech Security.

AI-analyzed exploit summary The writeup describes a SQL injection vulnerability in Zen Cart versions <= 1.3.8a, specifically in the `actionMultipleAddProduct` function where the `products_id` parameter is not properly sanitized. The exploit allows arbitrary SQL queries, potentially leading to information disclosure or remote code execution via `SELECT INTO OUTFILE`.

Description

Multiple SQL injection vulnerabilities in includes/classes/shopping_cart.php in Zen Cart 1.2.0 through 1.3.8a, when magic_quotes_gpc is disabled, allow remote attackers to execute arbitrary SQL commands via the id parameter when (1) adding or (2) updating the shopping cart.

Exploits (1)

exploitdb WRITEUP
by GulfTech Security · textwebappslinux
https://www.exploit-db.com/exploits/43436

The writeup describes a SQL injection vulnerability in Zen Cart versions <= 1.3.8a, specifically in the `actionMultipleAddProduct` function where the `products_id` parameter is not properly sanitized. The exploit allows arbitrary SQL queries, potentially leading to information disclosure or remote code execution via `SELECT INTO OUTFILE`.

Classification
Writeup 90%
Attack Type
Sqli
Complexity
Moderate
Reliability
Reliable
Target: Zen Cart <= 1.3.8a
No auth needed
Prerequisites: Access to the Zen Cart application · Database supporting subselects for full exploitation
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (8)

Core 8
Core References
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/496002/100/0/threaded
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/44917
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/496032/100/100/threaded
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/31758
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/31023
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/48346

Scores

EPSS 0.0158
EPSS Percentile 72.3%

Details

CWE
CWE-89
Status published
Products (16)
zen-cart/zen_cart 1.2.0d
zen-cart/zen_cart 1.2.1_patch1
zen-cart/zen_cart 1.2.1d
zen-cart/zen_cart 1.2.2d
zen-cart/zen_cart 1.2.3d
zen-cart/zen_cart 1.2.4.1
zen-cart/zen_cart 1.2.4d
zen-cart/zen_cart 1.2.5d
zen-cart/zen_cart 1.2.6d
zen-cart/zen_cart 1.3
... and 6 more
Published Aug 19, 2009
Tracked Since Feb 18, 2026