MediaWiki pretty-printing mode cross-site scripting
| mediawiki-prettyprinting-xss (36558) |
Description:
MediaWiki is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by the API pretty-printing mode. If the API interface is enabled, a remote attacker could exploit this vulnerability using unspecified parameters to inject malicious script into a Web page which would be executed in a victim's Web browser within the security context of the hosting Web site, once the page is viewed. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.
Platforms Affected:
- Wikimedia Foundation, MediaWiki 1.10 - 1.10.1
- Wikimedia Foundation, MediaWiki 1.11 - 1.11.0 rc1
- Wikimedia Foundation, MediaWiki 1.8 - 1.8.4
- Wikimedia Foundation, MediaWiki 1.9 - 1.9.3
Remedy:
Upgrade to the latest version of MediaWiki (1.11.0, 1.10.2, 1.9.4, 1.8.5, or later), available from the MediaWiki Web site. See References.
Consequences:
Gain Access
References:
- MediaWiki Web site, MediaWiki - MediaWiki at http://www.mediawiki.org/wiki/MediaWiki.
- MediaWiki-announce Mailing List, Mon Sep 10 22:11:37 UTC 2007, MediaWiki 1.11.0, 1.10.2, 1.9.4, 1.8.5 released (HTML/XSS API injection) at http://lists.wikimedia.org/pipermail/mediawiki-announce/2007-September/000067.html.
- BID-25632: MediaWiki API Pretty-Printing Mode Cross-Site Scripting Vulnerability
- CVE-2007-4828: Cross-site scripting (XSS) vulnerability in the API pretty-printing mode in MediaWiki 1.8.0 through 1.8.4, 1.9.0 through 1.9.3, 1.10.0 through 1.10.1, and the 1.11 development versions before 1.11.0 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.
- SA26772: MediaWiki Cross-Site Scripting Vulnerability
- VUPEN/ADV-2007-3130: MediaWiki API Pretty-printing Mode Data Handling Cross Site Scripting Issue
Reported:
Sep 10, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
