MyBB 'comma' Cookie SQLi

high Nessus Plugin ID 21053

Synopsis

The remote web server hosts a PHP application that is affected by a SQL injection vulnerability.

Description

The version of MyBB installed on the remote host is affected by a SQL injection vulnerability due to improper sanitization of user-supplied input to the 'comma' cookie used by several scripts. A remote attacker can exploit this issue to manipulate SQL queries, resulting in the disclosure of sensitive information and modification of data.

Note that successful exploitation requires that PHP's 'register_globals' setting be enabled.

Solution

Disable PHP's 'register_globals' setting.

See Also

https://www.securityfocus.com/archive/1/426653/30/30/threaded

Plugin Details

Severity: High

ID: 21053

File Name: mybb_comma_sql_injection.nasl

Version: 1.20

Type: remote

Family: CGI abuses

Published: 3/13/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 7.5

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

Vulnerability Information

CPE: cpe:/a:mybb:mybb

Required KB Items: www/PHP, installed_sw/MyBB

Exploit Available: true

Exploit Ease: No exploit is required

Vulnerability Publication Date: 2/28/2006

Reference Information

CVE: CVE-2006-0959

BID: 16631