MediaWiki < 1.18.5 / 1.19.2 Multiple Vulnerabilities

high Nessus Plugin ID 62358

Synopsis

The remote web server contains a PHP application that is affected by multiple vulnerabilities.

Description

According to its version number, the instance of MediaWiki running on the remote host is affected by multiple security vulnerabilities :

- A stored cross-site scripting (HTML injection) vulnerability exists because the application fails to sufficiently sanitize user-supplied input submitted to the 'File:' tag of a non-existing image through comments. (CVE-2012-4377)

- Multiple DOM-based cross-site scripting vulnerabilities exist because the application fails to sufficiently sanitize user-supplied input to the 'uselang' parameter and JavaScript gadgets on various language Wikipedias. (CVE-2012-4378)

- A cross-site request forgery (XSRF) vulnerability exists because the application fails to properly validate requests when X-Frame-Options headers are used. (CVE-2012-4379)

- A security-bypass vulnerability exists because the application fails to prevent the account creation for IP addresses blocked with the 'GlobalBlocking' extension.
(CVE-2012-4380)

- A security-bypass vulnerability exists because the application fails to prevent the use of old passwords in the external authentication system for non-existing accounts. (CVE-2012-4381)

- An information disclosure occurs when an admin attempts to block a user who has already been blocked. This discloses the block reason to the second admin, regardless of the admin's privileges. (CVE-2012-4382)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to MediaWiki version 1.18.5 / 1.19.2 or later.

See Also

http://www.nessus.org/u?d93d9844

https://www.mediawiki.org/wiki/Release_notes/1.18#MediaWiki_1.18.5

https://www.mediawiki.org/wiki/Release_notes/1.19#MediaWiki_1.19.2

Plugin Details

Severity: High

ID: 62358

File Name: mediawiki_1_18_5.nasl

Version: 1.12

Type: remote

Family: CGI abuses

Published: 9/27/2012

Updated: 6/6/2024

Configuration: Enable paranoid mode, Enable thorough checks

Supported Sensors: Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 4.1

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

CVSS Score Source: CVE-2012-4380

CVSS v3

Risk Factor: High

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Vulnerability Information

CPE: cpe:/a:mediawiki:mediawiki

Required KB Items: www/PHP, Settings/ParanoidReport, installed_sw/MediaWiki

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/31/2012

Vulnerability Publication Date: 8/31/2012

Reference Information

CVE: CVE-2012-4377, CVE-2012-4378, CVE-2012-4379, CVE-2012-4380, CVE-2012-4381, CVE-2012-4382

BID: 55370

CWE: 20, 442, 629, 711, 712, 722, 725, 74, 750, 751, 79, 800, 801, 809, 811, 864, 900, 928, 931, 990