Zen Cart Multiple Parameter Handling Remote File Inclusion and SQL Injection Vulnerabilities


Description   Multiple vulnerabilities have been identified in Zen Cart, which could be exploited by remote attackers to compromise a vulnerable server.
The first issue is due to input validation errors in the "ipn_get_stored_session", "whos_online_session_recreate", and "add_cart" functions that fail to properly validate certain parameters before being used in SQL statements, which could be exploited by malicious people to conduct SQL injection attacks.
The second vulnerability is due to an input validation error in the "index.php" script that does not validate the "autoLoadConfig[]" variable, which may be exploited by remote attackers to include local or remote scripts with the privileges of the web server.
The third flaw is due to an input validation error in the "index.php" script that does not validate the "typefilter" parameter, which may be exploited by remote attackers to include local scripts with the privileges of the web server.
     
Vulnerable Products   Vulnerable Software:
Zen Cart version 1.3.0.2 and prior
     
Solution   Upgrade to version 1.3.5 : http://sourceforge.net/project/showfiles.php?group_id=83781&package_id=171544
     
CVE   CVE-2006-4218
CVE-2006-4215
CVE-2006-4214
     
References   http://www.gulftech.org/?node=research&article_id=00109-08152006
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
SQL injection Prevention - GET : suspicious OR statement in URL
3.2.0
SQL injection Prevention - POST : suspicious SELECT statement in data
3.2.0
SQL injection Prevention - GET : suspicious combination of 'OR' or 'AND' statements in URL
3.2.0
SQL injection Prevention - POST : possible version probing in data
3.2.0
SQL injection Prevention - GET : suspicious CREATE statement in URL
3.2.0
SQL injection Prevention - GET : suspicious OPENROWSET statement in URL
3.2.0
SQL injection Prevention - POST : suspicious OPENQUERY statement in data
3.2.0
SQL injection Prevention - POST : suspicious CREATE statement in data
3.2.0
SQL injection Prevention - POST : suspicious UPDATE statement in data
3.2.0
SQL injection Prevention - POST : suspicious UNION statement in data
3.2.0
SQL injection Prevention - GET : suspicious OPENQUERY statement in URL
3.2.0
SQL injection Prevention - GET : suspicious shutdown statement in URL
3.2.0
SQL injection Prevention - GET : suspicious UNION SELECT statement in URL
3.2.0
SQL injection Prevention - POST : suspicious DROP statement in data
3.2.0
SQL injection Prevention - GET : possible database version probing
3.2.0
SQL injection Prevention - POST : suspicious INSERT statement in data
3.2.0
SQL injection Prevention - POST : suspicious OR statement in data
3.2.0
SQL injection Prevention - GET : suspicious UPDATE SET statement in URL
3.2.0
SQL injection Prevention - POST : suspicious EXEC statement in data
3.2.0
SQL injection Prevention - GET : suspicious SELECT statement in URL
3.2.0
SQL injection Prevention - GET : suspicious INSERT statement in URL
3.2.0
SQL injection Prevention - GET : suspicious DROP statement in URL
3.2.0
SQL injection Prevention - POST : suspicious OPENROWSET statement in data
3.2.0
SQL injection Prevention - GET : suspicious EXEC statement in URL
3.2.0
Zen Cart: remote file inclusion attempt
3.2.0
SQL injection Prevention - POST : suspicious HAVING statement in data
3.2.0
     


 
 
 
 
 Risk level 
High 

 Vulnerability First Public Report Date 
2006-08-16 

 Target Type 
Server 

 Possible exploit 
Local & Remote