Title :
Saner: Composing Static and Dynamic Analysis to Validate Sanitization in Web Applications
Author :
Balzarotti, Davide ; Cova, Marco ; Felmetsger, Vika ; Jovanovic, Nenad ; Kirda, Engin ; Kruegel, Christopher ; Vigna, Giovanni
Author_Institution :
Univ. of California at Santa Barbara, Santa Barbara, CA
Abstract :
Web applications are ubiquitous, perform mission- critical tasks, and handle sensitive user data. Unfortunately, web applications are often implemented by developers with limited security skills, and, as a result, they contain vulnerabilities. Most of these vulnerabilities stem from the lack of input validation. That is, web applications use malicious input as part of a sensitive operation, without having properly checked or sanitized the input values prior to their use. Past research on vulnerability analysis has mostly focused on identifying cases in which a web application directly uses external input in critical operations. However, little research has been performed to analyze the correctness of the sanitization process. Thus, whenever a web application applies some sanitization routine to potentially malicious input, the vulnerability analysis assumes that the result is innocuous. Unfortunately, this might not be the case, as the sanitization process itself could be incorrect or incomplete. In this paper, we present a novel approach to the analysis of the sanitization process. More precisely, we combine static and dynamic analysis techniques to identify faulty sanitization procedures that can be bypassed by an attacker. We implemented our approach in a tool, called Saner, and we applied it to a number of real-world applications. Our results demonstrate that we were able to identify several novel vulnerabilities that stem from erroneous sanitization procedures.
Keywords :
Internet; program diagnostics; program verification; security of data; software reliability; Saner tool; Web applications; dynamic analysis technique; faulty sanitization procedures; sanitization validation; static analysis technique; vulnerability analysis; Data privacy; Data security; Databases; Electronic mail; Fault diagnosis; Performance analysis; Portals; Programming profession; Protection; Time to market;
Conference_Titel :
Security and Privacy, 2008. SP 2008. IEEE Symposium on
Conference_Location :
Oakland, CA
Print_ISBN :
978-0-7695-3168-7