vendor:
Internet Explorer, SharePoint and Lync
by:
Watchfire
7,5
CVSS
HIGH
HTML Sanitizing Bypass
79
CWE
Product Name: Internet Explorer, SharePoint and Lync
Affected Version From: Internet Explorer > 8, SharePoint and Lync
Affected Version To: Internet Explorer > 8, SharePoint and Lync
Patch Exists: Yes
Related CWE: CVE-2012-1858
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Windows
2012
toStaticHTML: The Second Encounter (CVE-2012-1858)
An attacker is able to create a specially formed CSS that will overcome toStaticHTML's security logic; therefore, after passing the specially crafted CSS string through the toStaticHTML function, it will contain an expression that triggers a JavaScript call. The filtering engine allows the string 'expression(' to exists in 'non-dangerous' locations within the CSS and a bug in Internet Explorer's CSS parsing engine doesn't properly terminate strings that are opened inside brackets and closed outside of them.
Mitigation:
Ensure that all user-supplied input is properly sanitized and validated before being passed to the toStaticHTML function.