Taint Inference for Cross-Site Scripting in Context of URL Rewriting and HTML Sanitization

2Citations
Citations of this article
14Readers
Mendeley users who have this article in their library.

This article is free to access.

Abstract

Currently, web applications are gaining in prevalence. In a web application, an input may not be appropriately validated, making the web application susceptible to crosssite scripting (XSS), which poses serious security problems for Internet users and websites to whom such trusted web pages belong. A taint inference is a type of information flow analysis technique that is useful in detecting XSS on the client side. However, in existing techniques, two current practical issues have yet to be handled properly. One is URL rewriting, which transforms a standard URL into a clearer and more manageable form. Another is HTML sanitization, which filters an input against blacklists or whitelists of HTML tags or attributes. In this paper, we make an analogy between the taint inference problem and the molecule sequence alignment problem in bioinformatics, and transfer two techniques related to the latter over to the former to solve the aforementioned yetto- be-handled-properly practical issues. In particular, in our method, URL rewriting is addressed using local sequence alignment and HTML sanitization is modeled by introducing a removal gap penalty. Empirical results demonstrate the effectiveness and efficiency of our method.

Cite

CITATION STYLE

APA

Pan, J., Mao, X., & Li, W. (2016). Taint Inference for Cross-Site Scripting in Context of URL Rewriting and HTML Sanitization. ETRI Journal, 38(2), 376–386. https://doi.org/10.4218/etrij.16.0115.0570

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free