DocumentCode
3062154
Title
Using Automated Fix Generation to Secure SQL Statements
Author
Thomas, Stephen ; Williams, Laurie
Author_Institution
North Carolina State Univ., Raleigh
fYear
2007
fDate
20-26 May 2007
Firstpage
9
Lastpage
9
Abstract
Since 2002, over 10% of total cyber vulnerabilities were SQL injection vulnerabilities. Since most developers are not experienced software security practitioners, a solution for correctly fixing SQL injection vulnerabilities that does not require security expertise is desirable. In this paper, we propose an automated method for removing SQL injection vulnerabilities from Java code by converting plain text SQL statements into prepared statements. Prepared statements restrict the way that input can affect the execution of the statement. An automated solution allows developers to remove SQL injection vulnerabilities by replacing vulnerable code with generated secure code. In a formative case study, we tested our automated fix generation algorithm on five toy Java programs which contained seeded SQL injection vulnerabilities and a set of object traceability issues. The results of our case study show that our technique was able remove SQL injection vulnerabilities in five different statement configurations.
Keywords
Java; SQL; automatic programming; program compilers; program debugging; program testing; software reliability; Java code vulnerabilities; SQL injection vulnerabilities; automated fix generation algorithm; plain text SQL statements; prepared statements; secure code generation; software security practitioners; toy Java programs; Automatic testing; Automation; Code standards; Computer science; Databases; Information security; Input variables; Java; Programming; Standards development;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering for Secure Systems, 2007. SESS '07: ICSE Workshops 2007. Third International Workshop on
Conference_Location
Minneapolis, MN
Print_ISBN
0-7695-2952-6
Type
conf
DOI
10.1109/SESS.2007.12
Filename
4273335
Link To Document