MediaWiki profileinfo.php 'filter' Parameter XSS

low Nessus Plugin ID 47902

Synopsis

A web application running on the remote host is affected by a cross-site scripting vulnerability.

Description

The version of MediaWiki running on the remote host is affected by a cross-site scripting vulnerability due to improper validation of user-supplied input to the 'filter' parameter in the 'profileinfo.php' script. A remote attacker can exploit this, by tricking a user into requesting a maliciously crafted URL, to execute arbitrary script code in the security context of the affected application.

Installations that have the 'wgEnableProfileInfo' setting disabled are not affected. This setting is disabled by default.

Solution

Upgrade to MediaWiki 1.15.5 / 1.16.0 or later.

See Also

https://phabricator.wikimedia.org/T26565

http://www.nessus.org/u?9b06ed06

Plugin Details

Severity: Low

ID: 47902

File Name: mediawiki_profileinfo_xss.nasl

Version: 1.16

Type: remote

Published: 7/29/2010

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: Low

Base Score: 2.6

Temporal Score: 2.3

Vector: CVSS2#AV:N/AC:H/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: 7/28/2010

Vulnerability Publication Date: 7/28/2010

Reference Information

CVE: CVE-2010-2788

BID: 42024

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

SECUNIA: 40740