MyBB < 1.1.6 HTTP Header CLIENT-IP Field SQL Injection

Medium Nessus Network Monitor Plugin ID 3689

Synopsis

The remote web server contains a PHP application that is susceptible to a SQL injection attack.

Description

The remote version of MyBB fails to sanitize input to the 'CLIENT-IP' request header before using it in a database query when initiating a sesion in 'inc/class_session.php'. This may allow an unauthenticated attacker to uncover sensitive information such as password hashes, modify data, launch attacks against the underlying database, and more. Note that successful exploitation is possible regardless of PHP's settings.

Solution

Upgrade to version 1.1.6 or higher.

See Also

http://retrogod.altervista.org/mybb_115_sql.html

http://www.securityfocus.com/archive/1/440163/30/0/threaded

http://www.milw0rm.com/exploits/3653

http://community.mybboard.net/showthread.php?tid=10555

Plugin Details

Severity: Medium

ID: 3689

File Name: 3689.prm

Family: CGI

Published: 2006/07/25

Modified: 2016/01/21

Dependencies: 1442

Nessus ID: 22055

Risk Information

Risk Factor: Medium

CVSSv2

Base Score: 5.8

Temporal Score: 5.5

Vector: CVSS2#AV:A/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:F/RL:U/RC:ND

CVSSv3

Base Score: 6.3

Temporal Score: 6.2

Vector: CVSS3#AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Temporal Vector: CVSS3#E:F/RL:U/RC:X

Reference Information

CVE: CVE-2006-3775

BID: 18997