MediaWiki < 1.17.3 / 1.18.2 Multiple Vulnerabilities

medium Nessus Plugin ID 58965

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 :

- An attacker can block/unblock arbitrary users via cross- site request forgery attack (XSRF) against an authorized user. (CVE-2012-1578)

- Unauthorized users can disclose XSRF tokens, triggered by a failure of the 'user.tokens' module to restrict access. (CVE-2012-1579)

- An attacker can specially craft a URL that, should the victim be tricked into following it, would execute arbitrary script code in the victim's browser.
(CVE-2012-1580)

- Due to a flaw in pseudo-random number generation, password reset tokens may be predictable.
(CVE-2012-1581)

- A cross-site scripting vulnerability exists because MediaWiki does not validate input passed via the wikitext parser during page creation prior to returning it to the user. This allows the creation of a specially crafted URL that would execute arbitrary code in the user's browser. An attacker can also cause an infinite loop, leading to a denial of service. (CVE-2012-1582, CVE-2012-4885)

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

Solution

Upgrade MediaWiki to version 1.17.3 / 1.18.2 or later.

See Also

http://www.nessus.org/u?541c3ffc

http://www.nessus.org/u?7a4b3a4b

Plugin Details

Severity: Medium

ID: 58965

File Name: mediawiki_1_18_2.nasl

Version: 1.15

Type: remote

Family: CGI abuses

Published: 5/2/2012

Updated: 6/5/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: 6.8

Temporal Score: 5

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

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 Ease: No known exploits are available

Patch Publication Date: 3/2/2012

Vulnerability Publication Date: 3/22/2012

Reference Information

CVE: CVE-2012-1578, CVE-2012-1579, CVE-2012-1580, CVE-2012-1581, CVE-2012-1582, CVE-2012-4885

BID: 52689

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