MediaWiki CSS Comments XSS

medium Nessus Plugin ID 51998

Synopsis

The remote web server hosts a version of MediaWiki vulnerable to a cross-site scripting attack.

Description

There is a cross-site scripting vulnerability in this installation of MediaWiki that may allow an attacker to execute arbitrary script code in the browser of an unsuspecting user. Such script code could steal authentication credentials and be used to launch other attacks.

This version of MediaWiki also contains a local file inclusion vulnerability that is exploitable when running Microsoft Windows, but this plugin did not test for that vulnerability.

Solution

Upgrade to MediaWiki 1.16.2 or later.

See Also

http://www.nessus.org/u?5c3c879f

https://bugzilla.wikimedia.org/show_bug.cgi?id=27093

https://bugzilla.wikimedia.org/show_bug.cgi?id=27094

Plugin Details

Severity: Medium

ID: 51998

File Name: mediawiki_1_16_2.nasl

Version: 1.13

Type: remote

Published: 2/16/2011

Updated: 6/5/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: Low

Score: 3.0

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.7

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

Vulnerability Information

CPE: cpe:/a:mediawiki:mediawiki

Required KB Items: www/PHP, installed_sw/MediaWiki

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Patch Publication Date: 2/1/2011

Vulnerability Publication Date: 2/1/2011

Reference Information

CVE: CVE-2011-0047

BID: 46108

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

SECUNIA: 43142