DocumentCode
1994029
Title
Automatic creation of SQL Injection and cross-site scripting attacks
Author
Kieyzun, A. ; Guo, Philip J. ; Jayaraman, Karthick ; Ernst, Michael D.
Author_Institution
MIT, Cambridge, MA
fYear
2009
fDate
16-24 May 2009
Firstpage
199
Lastpage
209
Abstract
We present a technique for finding security vulnerabilities in Web applications. SQL injection (SQLI) and cross-site scripting (XSS) attacks are widespread forms of attack in which the attacker crafts the input to the application to access or modify user data and execute malicious code. In the most serious attacks (called second-order, or persistent, XSS), an attacker can corrupt a database so as to cause subsequent users to execute malicious code. This paper presents an automatic technique for creating inputs that expose SQLI and XSS vulnerabilities. The technique generates sample inputs, symbolically tracks taints through execution (including through database accesses), and mutates the inputs to produce concrete exploits. Ours is the first analysis of which we are aware that precisely addresses second-order XSS attacks. Our technique creates real attack vectors, has few false positives, incurs no runtime overhead for the deployed application, works without requiring modification of application code, and handles dynamic programming-language constructs. We implemented the technique for PHP, in a tool ARDILLA. We evaluated ARDILLA on five PHP applications and found 68 previously unknown vulnerabilities (23 SQLI, 33 first-order XSS, and 12 second-order XSS).
Keywords
Internet; SQL; security of data; SQL injection; Web applications; cross-site scripting attacks; malicious code; security vulnerabilities; Application software; Concrete; Data security; Databases; HTML; Internet; Monitoring; Privacy; Runtime; Testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering, 2009. ICSE 2009. IEEE 31st International Conference on
Conference_Location
Vancouver, BC
ISSN
0270-5257
Print_ISBN
978-1-4244-3453-4
Type
conf
DOI
10.1109/ICSE.2009.5070521
Filename
5070521
Link To Document