Ecole d'ingénieur et centre de recherche en Sciences du numérique

Preventing input validation vulnerabilities in web applications through automated type analysis

Scholte, Theodoor; Robertson, William; Balzarotti, Davide; Kirda, Engin

COMPSAC 2012, 36th Annual IEEE Computer Software and Applications Conference, July 16-20, 2012, Izmir, Turkey

Web applications have become an integral part of the daily lives of millions of users. Unfortunately, web applications are also frequently targeted by attackers, and critical vulnerabilities such as cross-site scripting and SQL injection are still common. As a consequence, much effort in the past decade has been spent on mitigating web application vulnerabilities. Current techniques focus mainly on sanitization: either on automated sanitization, the detection of missing sanitizers, the correctness of sanitizers, or the correct placement of sanitizers. However, these techniques are either not able to prevent new forms of input validation vulnerabilities such as HTTP Parameter Pollution, come with large runtime overhead, lack precision, or require significant modifications to the client and/or server infrastructure. In this paper, we present IPAAS, a novel technique for preventing the exploitation of cross-site scripting and SQL injection vulnerabilities based on automated data type detection of input parameters. IPAAS automatically and transparently augments otherwise insecure web application development environments with input validators that result in significant and tangible security improvements for real systems. We implemented IPAAS for PHP and evaluated it on five real-world web applications with known cross-site scripting and SQL injection vulnerabilities. Our evaluation demonstrates that IPAAS would have prevented 83% of SQL injection vulnerabilities and 65% of cross-site scripting vulnerabilities while incurring no developer burden.

Document Doi Bibtex

Titre:Preventing input validation vulnerabilities in web applications through automated type analysis
Mots Clés:cross-site scripting , input validation , security , sql injection , web application
Type:Conférence
Langue:English
Ville:Izmir
Pays:TURQUIE
Date:
Département:Sécurité numérique
Eurecom ref:3693
Copyright: © 2012 IEEE. Personal use of this material is permitted. However, permission to reprint/republish this material for advertising or promotional purposes or for creating new collective works for resale or redistribution to servers or lists, or to reuse any copyrighted component of this work in other works must be obtained from the IEEE.
Bibtex: @inproceedings{EURECOM+3693, doi = {http://dx.doi.org/10.1109/COMPSAC.2012.34}, year = {2012}, title = {{P}reventing input validation vulnerabilities in web applications through automated type analysis}, author = {{S}cholte, {T}heodoor and {R}obertson, {W}illiam and {B}alzarotti, {D}avide and {K}irda, {E}ngin }, booktitle = {{COMPSAC} 2012, 36th {A}nnual {IEEE} {C}omputer {S}oftware and {A}pplications {C}onference, {J}uly 16-20, 2012, {I}zmir, {T}urkey}, address = {{I}zmir, {TURQUIE}}, month = {07}, url = {http://www.eurecom.fr/publication/3693} }
Voir aussi: