MediaWiki CSS data cross-site scripting
|mediawiki-css-data-xss (66738)||Medium Risk|
MediaWiki is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by the wikitext parser when handling CSS data. A remote attacker could exploit this vulnerability 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.
Upgrade to the latest version of MediaWiki (1.16.4 or later), available from the MediaWiki Web site. See References.
- MediaWiki Web Site: MediaWiki security release 1.16.3.
- MediaWiki Web Site: MediaWiki security release 1.16.4.
- BID-47354: MediaWiki Versions Prior to 1.16.3 Multiple Remote Vulnerabilities
- CVE-2011-1579: The checkCss function in includes/Sanitizer.php in the wikitext parser in MediaWiki before 1.16.3 does not properly validate Cascading Style Sheets (CSS) token sequences, which allows remote attackers to conduct cross-site scripting (XSS) attacks or obtain sensitive information by using the \2f\2a and \2a\2f hex strings to surround CSS comments.
- DSA-2366: mediawiki -- multiple vulnerabilities
- OSVDB ID: 74620: MediaWiki Wikitext Parser includes/Sanitizer.php checkCss Function Hex String XSS
- SA44142: MediaWiki Multiple Vulnerabilities
- Mediawiki Mediawiki 1.16
Apr 14, 2011
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 ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.