CVE-2004-2221

Mercantec SoftCart 4.00b - Remote Code Execution via Long HTTP GET Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 3 public exploits for CVE-2004-2221. PoCs published by Metasploit, skape, skape, trew, including Metasploit module exploits/bsdi/softcart/mercantec_softcart.

AI-analyzed exploit summary This is a Metasploit module exploiting a buffer overflow in Mercantec SoftCart CGI (CVE-2004-2221) via a malformed HTTP GET request. It targets BSDi systems and uses brute-force to bypass ASLR-like protections.

Description

Buffer overflow in SoftCart.exe in Mercantec SoftCart 4.00b allows remote attackers to execute arbitrary code via a long parameter in an HTTP GET request.

Exploits (3)

exploitdb WORKING POC VERIFIED
by Metasploit · rubyremotewindows
https://www.exploit-db.com/exploits/16926

This is a Metasploit module exploiting a buffer overflow in Mercantec SoftCart CGI (CVE-2004-2221) via a malformed HTTP GET request. It targets BSDi systems and uses brute-force to bypass ASLR-like protections.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Mercantec SoftCart 4.00b
No auth needed
Prerequisites: Network access to the target CGI · Target running vulnerable SoftCart version
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by skape · rubyremotecgi
https://www.exploit-db.com/exploits/10037

This exploit targets a buffer overflow in Mercantec SoftCart CGI (SoftCart.exe) via a malformed HTTP GET request. It includes a brute-force approach to bypass ASLR on BSDi systems and delivers a payload to achieve remote code execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Mercantec SoftCart 4.00b
No auth needed
Prerequisites: Network access to the target CGI endpoint · Target running BSDi 4.3 with SoftCart 4.00b
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC GREAT
by skape, trew · rubypocbsdi
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/bsdi/softcart/mercantec_softcart.rb

This Metasploit module exploits a buffer overflow in Mercantec SoftCart CGI (SoftCart.exe) via a malformed HTTP GET request. It targets BSDi 4.3 systems and uses brute-force to bypass ASLR by spraying return addresses.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Mercantec SoftCart 4.00b
No auth needed
Prerequisites: Network access to the target CGI · SoftCart.exe running on BSDi 4.3
devstral-2 · analyzed Feb 19, 2026 Full analysis →

References (4)

Core 4
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/9011
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/17008
Exploit, Patch vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/10926

Scores

EPSS 0.3476
EPSS Percentile 98.2%

Details

Status published
Products (1)
mercantec/softcart 4.00b
Published Dec 31, 2004
Tracked Since Feb 18, 2026