PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
May 17, 2005ACM SIGSOFT Software Engineering Notes107 citations

Combining static analysis and runtime monitoring to counter SQL-injection attacks

View Full Paper
WHWilliam G. J. HalfondAOAlessandro Orso

Key Points

Key points are not available for this paper at this time.

Abstract

Our dependence on web applications has steadily increased, and we continue to integrate them into our everyday routine activities. When we are making reservations, paying bills, and shopping on-line, we expect these web applications to be secure and reliable. However, as the availability of these services has increased, there has been a corresponding increase in the number and sophistication of attacks that target them. One of the most serious types of attack against web applications is SQL injection. SQL injection is a class of code-injection attacks in which user input is included in a SQL query in such a way that part of the input is treated as code. Using SQL injection. attackers can leak confidential information, such as credit card numbers, from web applications' databases and even corrupt the database. In this paper, we propose a novel technique to counter SQL-injection. The technique combines conservative static analysis and runtime monitoring to detect and stop illegal queries before they are executed on the database. In its static part, the technique builds a conservative model of the legitimate queries that could be generated by the application. In its dynamic part, the technique inspects the dynamically generated queries for compliance with the statically-built model. We also present a preliminary evaluation of the technique performed on two small web applications. The results of the evaluation are promising---our technique was able to prevent all of the attacks that we performed on the two applications.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Halfond et al. (2005) studied this question.

synapsesocial.com/papers/6a21a725fe297d9d92f1ccd8https://doi.org/10.1145/1082983.1083250
Ask AI
Helpful
Bookmark
Share
View Full Paper