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.21

Type: remote

Family: CGI abuses

Published: 3/13/2006

Updated: 6/5/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Enable CGI Scanning: true

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

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: No exploit is required

Vulnerability Publication Date: 2/28/2006

Reference Information

CVE: CVE-2006-0959

BID: 16631