Invision Power Board Multiple Code Execution and SQL Injection Vulnerabilities


Description   Multiple vulnerabilities were identified in Invision Power Board (IPB), which could be exploited by remote attackers to execute arbitrary commands, or perform SQL injection and cross site scripting.
The first issue is due to an input validation error when displaying uploaded JPEG images with headers containing HTML code, which could be exploited by attackers to cause malicious scripting code to be executed by the user's browser.
The second flaw is due to an input validation error in the "index.php" script that fails to properly validate the "ck" parameter, which could be exploited by malicious people to conduct SQL injection attacks.
The third vulnerability is due to an input validation error in the "search.php" script that does not validate the "lastdate" parameter before being passed to a "preg_replace()" call, which may be exploited by remote attackers to inject and execute arbitrary commands with the privileges of the web server.
The fourth flaw is due to an input validation error in the "admin.php" script that does not validate the "name" parameter, which could be exploited by remote attackers to include malicious scripts and execute arbitrary commands with the privileges of the web server.
     
Vulnerable Products   Vulnerable Software:
Invision Power Board versions 2.0 through 2.1.5
     
Solution   Apply patches : http://forums.invisionpower.com/index.php?showtopic=213374
     
CVE   CVE-2006-2061
CVE-2006-2060
CVE-2006-2059
     
References   http://forums.invisionpower.com/index.php?showtopic=213374
     
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
SQL injection Prevention - POST : suspicious HAVING statement in data
3.2.0
     


 
 
 
 
 Risk level 
High 

 Vulnerability First Public Report Date 
2006-04-26 

 Target Type 
Server 

 Possible exploit 
Local & Remote