MyBB CLIENT_IP SQL injection

mybb-clientip-sql-injection (27752) The risk level is classified as MediumMedium Risk

Description:

MyBB is vulnerable to SQL injection. A remote attacker could send specially-crafted SQL statements to the getip() function in the inc/functions.php script using the 'CLIENT_IP' variable, which could allow the attacker to view, add, modify, or delete information in the back-end database.

Platforms Affected:

  • MyBB, MyBB 1.1.5 and prior

Remedy:

Upgrade to the latest version of MyBB (version 1.1.6 or later), available from the MyBB Web site. See References.

Consequences:

Data Manipulation

References:

  • BugTraq Mailing List, Sat Jul 15 2006 - 01:06:20 CDT, MyBulletinBoard (MyBB) 1.1.5 'CLIENT-IP' sql injection at http://archives.neohapsis.com/archives/bugtraq/2006-07/0254.html.
  • MyBB Web site, MyBB - Home at http://www.mybboard.com/.
  • BID-18997: MyBB Client-IP SQL Injection Vulnerability
  • CVE-2006-3775: SQL injection vulnerability in the init function in class_session.php in MyBB (aka MyBulletinBoard) 1.1.5 allows remote attackers to execute arbitrary SQL commands via the CLIENT-IP HTTP header ($_SERVER['HTTP_CLIENT_IP'] variable), as utilized by index.php.
  • SA21070: MyBB "CLIENT-IP" SQL Injection Vulnerability
  • VUPEN/ADV-2006-2811: MyBulletinBoard (MyBB) CLIENT_IP Variable Handling Remote SQL Injection Vulnerability

Reported:

Jul 15, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page