Noncespaces: Using Randomization to Enforce Information Flow Tracking and Thwart Cross-Site Scripting Attacks.
Matthew D. Van Gundy, Hao Chen · 2009
Cross-site scripting (XSS) vulnerabilities are among the most common and serious web application vulnerabilities. Eliminating XSS is challenging because it is difficult for web applications to sanitize all user inputs appropriately. We present Noncespaces, a technique that enables web clients to distinguish between trusted and untrusted content to prevent exploitation of XSS vulnerabilities. Using Noncespaces, a web application randomizes the XML namespace prefixes of tags in each document before delivering it to the client. As long as the attacker is unable to predict the randomized prefixes, the client can distinguish between trusted content created by the web application and untrusted content provided by an attacker. To implement Noncespaces with minimal changes to web applications, we leverage a popular web application architecture to automatically apply Noncespaces to static content processed through a popular PHP template engine. We show that with simple policies Noncespaces thwarts popular XSS attack vectors. 1.
Cited by 135 works.
Authors
References
- A Extensible Markup Language XML
- Countering code-injection attacks with instruction-set randomization
- Cross Site Scripting Prevention with Dynamic Data Tainting and Static Analysis.
- Noxes
- Defeating script injection attacks with browser-enforced embedded policies
- Static detection of cross-site scripting vulnerabilities
- Vulnerability Type Distributions in CVE
- End-to-end web application security
- Static Analysis for Java Servlets and JSP
- XHTML™ Modularization 1.1