HTML Sanitizing Bypass - CVE-2012-1858
Introduction
The toStaticHTML component, which is found in Internet Explorer > 8, SharePoint and Lync is used to sanitize HTML fragments from dynamic and potentially malicious content.
If an attacker is able to break the filtering mechanism and pass malicious code through this function, he/she may be able to perform HTML injection based attacks (i.e. XSS).
It has been a year since the first encounter was published, we've now returned with a new bypass method.
Vulnerability
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.
Continue reading "toStaticHTML: The Second Encounter (CVE-2012-1858)" »