CubeCart viewCat.inc.php searchArray[] Variable SQL Injection

2006-08-28T03:34:01
ID OSVDB:28280
Type osvdb
Reporter James Bercegay(security@gulftech.org)
Modified 2006-08-28T03:34:01

Description

Vulnerability Description

CubeCart contains a flaw that may allow an attacker to carry out an SQL injection attack. The issue is due to the 'viewCat.inc.php' script not properly sanitizing user-supplied input to the 'searchArray[]' variable. This may allow an attacker to inject or manipulate SQL queries in the backend database.

Technical Description

This vulnerability is only present when the register_globals PHP option is set to 'on'. This has not been the default setting for PHP installs since version 4.2.0 (22-Apr-2002).

Solution Description

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

Short Description

CubeCart contains a flaw that may allow an attacker to carry out an SQL injection attack. The issue is due to the 'viewCat.inc.php' script not properly sanitizing user-supplied input to the 'searchArray[]' variable. This may allow an attacker to inject or manipulate SQL queries in the backend database.

References:

Vendor URL: http://www.cubecart.com/ Vendor Specific Solution URL: http://cubecart.com/site/forums/index.php?showtopic=21540 Secunia Advisory ID:21659 Related OSVDB ID: 28281 Related OSVDB ID: 28279 Other Advisory URL: http://www.gulftech.org/?node=research&article_id=00111-08282006& CVE-2006-4526 Bugtraq ID: 19782