[SA20121] Squirrelcart "cart_isp_root" File Inclusion Vulnerability

2006-05-16T00:00:00
ID SECURITYVULNS:DOC:12694
Type securityvulns
Reporter Securityvulns
Modified 2006-05-16T00:00:00

Description

TITLE: Squirrelcart "cart_isp_root" File Inclusion Vulnerability

SECUNIA ADVISORY ID: SA20121

VERIFY ADVISORY: http://secunia.com/advisories/20121/

CRITICAL: Highly critical

IMPACT: System access

WHERE: >From remote

SOFTWARE: Squirrelcart PHP Shopping Cart 2.x http://secunia.com/product/9957/

DESCRIPTION: OLiBekaS has reported a vulnerability in Squirrelcart, which can be exploited by malicious people to compromise a vulnerable system.

Input passed to the "cart_isp_root" parameter in cart_content.php is not properly verified before being used to include files. This can be exploited to execute arbitrary PHP code by including files from local or external resources.

The vulnerability has been reported in version 2.2.0. Other versions may also be affected.

SOLUTION: Edit the source code to ensure that input is properly verified.

PROVIDED AND/OR DISCOVERED BY: OLiBekaS

ORIGINAL ADVISORY: http://milw0rm.com/exploits/1790


About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities.

Subscribe: http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/

Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor.