MediaWiki < 1.19.23 / 1.22.15 / 1.23.8 / 1.24.1 Multiple Vulnerabilities

medium Nessus Network Monitor Plugin ID 8611

Synopsis

The remote web server is running a PHP application that is affected by a security bypass and cross-site scripting vulnerability.

Description

In versions older than 1.24.1, 1.22.15 or 1.19.23 or 1.23.8, MediaWiki contains a flaw in API handling which allows an attacker to bypass authentication. This issue occurs when a website includes an allowed domain as part of its name in '$wgCrossSiteAJAXdomains' in API calls. An attacker can exploit this issue to bypass CORS restrictions. Older versions of MediaWiki are also prone to a cross-site scripting vulnerability because 'thumb.php' script fails to properly sanitize user-supplied input when handling wikitext messages before returning it to the users.

Solution

Upgrade to MediaWiki version 1.24.1. Alternatively, versions 1.19.23, 1.22.15, and 1.23.8 or later are patched for these vulnerabilities.

See Also

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

https://phabricator.wikimedia.org/T77028

https://bugzilla.redhat.com/show_bug.cgi?id=1175828

http://www.mediawiki.org/wiki/MediaWiki

Plugin Details

Severity: Medium

ID: 8611

Family: CGI

Published: 12/29/2014

Updated: 3/6/2019

Vulnerability Information

CPE: cpe:/a:mediawiki:mediawiki

Patch Publication Date: 12/24/2014

Vulnerability Publication Date: 12/17/2014

Reference Information

BID: 71775, 71776