Mandriva Linux Security Advisory : mediawiki (MDVSA-2014:057)

This script is Copyright (C) 2014 Tenable Network Security, Inc.


Synopsis :

The remote Mandriva Linux host is missing one or more security
updates.

Description :

Updated mediawiki packages fix multiple vulnerabilities :

MediaWiki user Michael M reported that the fix for CVE-2013-4568
allowed insertion of escaped CSS values which could pass the CSS
validation checks, resulting in XSS (CVE-2013-6451).

Chris from RationalWiki reported that SVG files could be uploaded that
include external stylesheets, which could lead to XSS when an XSL was
used to include JavaScript (CVE-2013-6452).

During internal review, it was discovered that MediaWiki's SVG
sanitization could be bypassed when the XML was considered invalid
(CVE-2013-6453).

During internal review, it was discovered that MediaWiki displayed
some information about deleted pages in the log API, enhanced
RecentChanges, and user watchlists (CVE-2013-6472).

Netanel Rubin from Check Point discovered a remote code execution
vulnerability in MediaWiki's thumbnail generation for DjVu files.
Internal review also discovered similar logic in the PdfHandler
extension, which could be exploited in a similar way (CVE-2014-1610).

MediaWiki before 1.22.3 does not block unsafe namespaces, such as a
W3C XHTML namespace, in uploaded SVG files. Some client software may
use these namespaces in a way that results in XSS. This was fixed by
disallowing uploading SVG files using non-whitelisted namespaces
(CVE-2014-2242).

MediaWiki before 1.22.3 performs token comparison that may be
vulnerable to timing attacks. This was fixed by making token
comparison use constant time (CVE-2014-2243).

MediaWiki before 1.22.3 could allow an attacker to perform XSS
attacks, due to flaw with link handling in api.php. This was fixed
such that it won't find links in the middle of api.php links
(CVE-2014-2244).

MediaWiki has been updated to version 1.22.3, which fixes these
issues, as well as several others.

Also, the mediawiki-ldapauthentication and mediawiki-math extensions
have been updated to newer versions that are compatible with MediaWiki
1.22.

Additionally, the mediawiki-graphviz extension has been obsoleted, due
to the fact that it is unmaintained upstream and is vulnerable to
cross-site scripting attacks.

Note: if you were using the instances feature in these packages to
support multiple wiki instances, this feature has now been removed.
You will need to maintain separate wiki instances manually.

See also :

http://advisories.mageia.org/MGASA-2014-0113.html
http://advisories.mageia.org/MGASA-2014-0124.html

Solution :

Update the affected packages.

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 5.9
(CVSS2#E:POC/RL:OF/RC:C)
Public Exploit Available : true

Family: Mandriva Local Security Checks

Nessus Plugin ID: 73004 ()

Bugtraq ID: 65003
65223
65883
65906
65910

CVE ID: CVE-2013-6451
CVE-2013-6452
CVE-2013-6453
CVE-2013-6472
CVE-2014-1610
CVE-2014-2242
CVE-2014-2243
CVE-2014-2244

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now