MyBB calendar.php 'month' Parameter SQLi

critical Nessus Plugin ID 20342

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 'month' parameter of the calendar.php script. A remote, unauthenticated attacker can exploit this issue to manipulate SQL queries, resulting in the disclosure of sensitive information and modification of data.

Note that the application is also reportedly affected by several additional SQL injection vulnerabilities, many of which can be exploited even if PHP's 'register_globals' setting is disabled and the 'magic_quotes_gpc' setting is enabled. However, Nessus has not tested for these additional issues.

Solution

Upgrade to MyBB 1.0 or later.

See Also

http://www.trapkit.de/advisories/TKADV2005-12-001.txt

https://seclists.org/fulldisclosure/2005/Dec/1236

https://community.mybb.com/showthread.php?tid=5184

Plugin Details

Severity: Critical

ID: 20342

File Name: mybb_10.nasl

Version: 1.25

Type: remote

Family: CGI abuses

Published: 12/24/2005

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.7

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

Vulnerability Information

CPE: cpe:/a:mybb:mybb

Required KB Items: www/PHP, installed_sw/MyBB

Exploit Available: true

Exploit Ease: No exploit is required

Patch Publication Date: 12/9/2005

Vulnerability Publication Date: 12/9/2005

Reference Information

CVE: CVE-2005-4199, CVE-2005-4200

BID: 15793