MyBB Multiple Variable Handling SQL Injection and Cross Site Scripting Vulnerabilities


Description   Multiple vulnerabilities have been identified in MyBB (MyBulletinBoard), which could be exploited by attackers to manipulate certain information, or execute arbitrary SQL commands and scripting code.
The first issue is due to an input validation error when processing posts containing a specially crafted "img" tag, which could be exploited by attackers to delete arbitrary forum posts by tricking an administrator into viewing a malicious post.
The second flaw is due to an input validation error in the "inc/functions_post.php" script that does not validate specially crafted "url" tags, which could be exploited by malicious people to conduct cross site scripting attacks.
The third vulnerability is due to an error in the "archive/global.php" script that does not define the "KILL_GLOBALS" constant, which could be exploited to overwrite certain variables and conduct SQL injection attacks.
The fourth issue is due to an input validation error in the "usercp.php" script that fails to properly validate the "joingroup" parameter before being used in SQL statements, which could be exploited by malicious people to conduct SQL injection attacks and manipulate user groups.
The fifth flaw is due to input validation errors in the "inc/functions_upload.php" and "newreply.php" scripts that fail to properly validate the "posthash" parameter before being used in SQL statements, which could be exploited by malicious people to conduct SQL injection attacks.
The sixth issue is due to an input validation error in the "inc/class_session.php" script that fails to properly validate the "logon[]" parameter before being used in SQL statements, which could be exploited by malicious people to conduct SQL injection attacks.
The seventh vulnerability is due to an input validation error in the "editpost.php" script that fails to properly validate the "icon" parameter before being used in SQL statements, which could be exploited by malicious people to conduct SQL injection attacks.
     
Vulnerable Products   Vulnerable Software:
MyBB (MyBulletinBoard) version 1.1.4 and prior
     
Solution   Upgrade to MyBB version 1.1.5 : http://www.mybboard.com/downloads.php
     
CVE   CVE-2006-3420
     
References   http://community.mybboard.net/showthread.php?tid=10115
     
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 
Moderate 

 Vulnerability First Public Report Date 
2006-06-29 

 Target Type 
Server 

 Possible exploit 
Local & Remote