MediaWiki 1.4.x < 1.4.6 / 1.5.x < 1.5.0 beta3 Page Move Template XSS

medium Nessus Plugin ID 18644

Synopsis

The remote web server contains a PHP script that is affected by a cross-site scripting vulnerability.

Description

According to its self-reported version number, the installation of MediaWiki running on the remote host is affected by a cross-site scripting vulnerability due to a failure to sanitize user-supplied input passed to the page move template. A remote attacker can exploit this to inject arbitrary HTML and script code into a user's browser, resulting in the theft of cookies, misrepresentation of the site, and other attacks.

Solution

Upgrade to MediaWiki 1.4.6 / 1.5.0 beta3 or later.

See Also

https://phabricator.wikimedia.org/T4304

Plugin Details

Severity: Medium

ID: 18644

File Name: mediawiki_pagemove_xss.nasl

Version: 1.22

Type: remote

Published: 7/8/2005

Updated: 4/11/2022

Configuration: Enable paranoid mode, Enable thorough checks

Supported Sensors: Nessus

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, Settings/ParanoidReport, installed_sw/MediaWiki

Exploit Ease: No exploit is required

Vulnerability Publication Date: 7/7/2005

Reference Information

CVE: CVE-2005-2215

BID: 14181

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