Cross-site scripting in MediaWiki - CVE-2014-2242
Published: March 2, 2014 / Updated: December 22, 2020
MediaWiki
Detailed vulnerability description
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data. The vulnerability allows remote attackers to conduct cross-site scripting (XSS) attacks via an SVG upload, as demonstrated by use of a W3C XHTML namespace in conjunction with an IFRAME element.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
How to mitigate CVE-2014-2242
Sources
- http://lists.wikimedia.org/pipermail/mediawiki-announce/2014-February/000141.html
- http://openwall.com/lists/oss-security/2014/02/28/1
- http://openwall.com/lists/oss-security/2014/03/01/2
- http://www.securityfocus.com/bid/65910
- https://bugzilla.redhat.com/show_bug.cgi?id=1071135
- https://bugzilla.wikimedia.org/show_bug.cgi?id=60771
- https://gerrit.wikimedia.org/r/#/q/7d923a6b53f7fbcb0cbc3a19797d741bf6f440eb,n,z