CVE-2007-4907

X-Cart - Remote Code Execution via xcart_dir Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2007-4907. PoCs published by aLiiF.

AI-analyzed exploit summary This exploit demonstrates a remote file inclusion vulnerability in X-Cart by manipulating the 'xcart_dir' parameter in multiple PHP scripts. The attacker can include arbitrary remote files, potentially leading to remote code execution.

Description

Multiple PHP remote file inclusion vulnerabilities in X-Cart allow remote attackers to execute arbitrary PHP code via a URL in the xcart_dir parameter to (1) config.php, (2) prepare.php, (3) smarty.php, (4) customer/product.php, (5) provider/auth.php, and (6) admin/auth.php.

Exploits (1)

exploitdb WORKING POC VERIFIED
by aLiiF · textwebappsphp
https://www.exploit-db.com/exploits/4396

This exploit demonstrates a remote file inclusion vulnerability in X-Cart by manipulating the 'xcart_dir' parameter in multiple PHP scripts. The attacker can include arbitrary remote files, potentially leading to remote code execution.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: X-Cart (versions prior to 2007 patch)
No auth needed
Prerequisites: Remote file inclusion must be enabled on the target server · Attacker must be able to host a malicious file on a remote server
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (8)

Core 8
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/38977
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/38976
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/4396
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/38974
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/38972
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/38973
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/36574
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/25637

Scores

EPSS 0.0866
EPSS Percentile 92.5%

Details

CWE
CWE-94
Status published
Products (1)
qualiteam/x-cart 3.5.0
Published Sep 17, 2007
Tracked Since Feb 18, 2026