Using positive tainting and syntax-aware evaluation to counter SQL injection attacks
The DOI matches its Crossref record; 25 of the 25 references it cites were found in a registry or an index.
Abstract
SQL injection attacks pose a serious threat to the security of Web applications because they can give attackers unrestricted access to databases that contain sensitive information. In this paper, we propose a new, highly automated approach for protecting existing Web applications against SQL injection. Our approach has both conceptual and practical advantages over most existing techniques. From the conceptual standpoint, the approach is based on the novel idea of positive tainting and the concept of syntax-aware evaluation. From the practical standpoint, our technique is at the same time precise and efficient and has minimal deployment requirements. The paper also describes wasp, a tool that implements our technique, and a set of studies performed to evaluate our approach. In the studies, we used our tool to protect several Web applications and then subjected them to a large and varied set of attacks and legitimate accesses. The evaluation was a complete success: wasp successfully and efficiently stopped all of the attacks without generating any false positives.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Proceedings of the 11th USENIX Security Symposium
Boneh, D. (2002) · Cited by 2,530
The protection of information in computer systems
Saltzer, J. H., & Schroeder, M. D. (1975) · Proceedings of the IEEE · doi:10.1109/proc.1975.9939 · Cited by 2,126 · cited 1×
“Positive tainting follows the general principle of fail-safe defaults as outlined by Saltzer and Schroeder in [22]: in case of incompleteness, positive tainting fails in a way that maintains the security of the system.”
BackgroundProtection of information in computer systems
Saltier, J. H., & Schroeder, M. P. (1975) · IEEE CSIT Newsletter · doi:10.1109/csit.1975.6498831 · Cited by 1,419
Newsome, J., & Song, D. X. (2018) · Figshare · doi:10.1184/r1/6468716 · Cited by 1,270
A Classification of SQL-Injection Attacks and Countermeasures
Halfond, W. G. J., Viegas, J., & Orso, A. (2006) · Cited by 882
Self-citationFinding security vulnerabilities in java applications with static analysis
Livshits, V. B., & Lam, M. S. (2005) · USENIX Security Symposium · Cited by 773
Pixy: a static analysis tool for detecting Web application vulnerabilities
Jovanovic, N., Kruegel, C., & Kirda, E. (2006) · 2006 IEEE Symposium on Security and Privacy (S&P'06) · doi:10.1109/sp.2006.29 · Cited by 722 · cited 1×
“Other approaches against SQLIAs rely purely on static analysis [13, 14, 15, 27].”
MethodSecuring web application code by static analysis and runtime protection
Huang, Y.-W., Yu, F., Hang, C., Tsai, C.-H., Lee, D.-T., & Kuo, S.-Y. (2004) · Proceedings of the 13th international conference on World Wide Web · doi:10.1145/988672.988679 · Cited by 567 · cited 1×
“Livshits and Lam [14] and WebSSARI [13] use information flow analysis to determine if user input can reach sensitive functions in an application.”
BackgroundHoward, M., LeBlanc, D. J., & Valentine, B. (2001) · Cited by 551
AMNESIA: analysis and monitoring for NEutralizing SQL-injection attacks
Halfond, W. G. J., & Orso, A. (2005) · Proceedings of the 20th IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/1101908.1101935 · Cited by 527 · cited 5×
“AMNESIA: Analysis and Monitoring for NEutralizing SQL-Injection Attacks.”
MethodInfluentialSelf-citationThe essence of command injection attacks in web applications
Su, Z., & Wassermann, G. (2006) · Conference record of the 33rd ACM SIGPLAN-SIGACT symposium on Principles of programming languages · doi:10.1145/1111037.1111070 · Cited by 515 · cited 6×
“Our experiments are based on the evaluation framework used for AMNESIA [9] and SQLCheck [22].”
BackgroundMethodInfluentialFinding application errors and security flaws using PQL: a program query language
Martin, M., Livshits, B., & Lam, M. S. (2005) · Proceedings of the 20th annual ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications · doi:10.1145/1094811.1094840 · Cited by 440 · cited 4×
“[15] V. B. Livshits and M. S. Lam.”
InfluentialSQLrand: Preventing SQL Injection Attacks
Boyd, S. W., & Keromytis, A. D. (2004) · Lecture Notes in Computer Science · doi:10.1007/978-3-540-24852-1_21 · Cited by 429 · cited 1×
“SQLrand [2] appends a random token to SQL keywords and operators in the application code.”
BackgroundUsing parse tree validation to prevent SQL injection attacks
Buehrer, G., Weide, B. W., & Sivilotti, P. A. G. (2005) · Proceedings of the 5th international workshop on Software engineering and middleware · doi:10.1145/1108473.1108496 · Cited by 388 · cited 5×
“The main difference is that SQLGuard builds its models on the .y by requiring developers to call a special function and to pass to the function the query string before user input is added.”
MethodResultInfluentialAutomatically Hardening Web Applications Using Precise Tainting
Nguyen-Tuong, A., Guarnieri, S., Greene, D., Shirley, J., & Evans, D. (2005) · IFIP Advances in Information and Communication Technology · doi:10.1007/0-387-25660-1_20 · Cited by 387 · cited 2×
“The two approaches most similar to ours are those by Nguyen-Tuong and colleagues [19] and Pietraszek and Berghe [20].”
BackgroundResultStatic detection of security vulnerabilities in scripting languages
Xie, Y., & Aiken, A. (2006) · Cited by 366
Advanced SQL Injection In SQL Server Applications
Anley, C. (2002) · Cited by 337
Web application security assessment by fault injection and behavior monitoring
Huang, Y.-W., Huang, S.-K., Lin, T.-P., & Tsai, C.-H. (2003) · Proceedings of the twelfth international conference on World Wide Web - WWW '03 · doi:10.1145/775152.775174 · Cited by 319 · cited 3×
“Machine learning was also used in WAVES [12], an automated penetration testing tool that probes websites for vulnerability to SQLIAs.”
MethodInfluentialDefending Against Injection Attacks Through Context-Sensitive String Evaluation
Pietraszek, T., & Berghe, C. V. (2006) · Lecture Notes in Computer Science · doi:10.1007/11663812_7 · Cited by 300 · cited 4×
“The two approaches most similar to ours are those by Nguyen-Tuong and colleagues [19] and Pietraszek and Berghe [20].”
BackgroundResultInfluentialA Learning-Based Approach to the Detection of SQL Attacks
Valeur, F., Mutz, D., & Vigna, G. (2005) · Lecture Notes in Computer Science · doi:10.1007/11506881_8 · Cited by 283 · cited 1×
“Similarly, Valeur and colleagues [23] developed an IDS that uses machine learning to distinguish legitimate and malicious queries.”
BackgroundAbstracting application-level web security
Scott, D., & Sharp, R. (2002) · Proceedings of the 11th international conference on World Wide Web · doi:10.1145/511446.511498 · Cited by 257 · cited 2×
“Scott and Sharp propose Security Gateway [23], which uses developer-provided rules to .lter Web traf.c, identify attacks, and apply preventive transformations to potentially malicious inputs.”
BackgroundDynamic Taint Propagation for Java
Haldar, V., Chandra, D., & Franz, M. (2006) · 21st Annual Computer Security Applications Conference (ACSAC'05) · doi:10.1109/csac.2005.21 · Cited by 225 · cited 4×
“Other dynamic tainting approaches more loosely related to our approach are those by Haldar, Chandra, and Franz [8] and Martin, Livshits, and Lam [17].”
BackgroundMethodInfluentialSQL DOM: compile time checking of dynamic SQL statements
McClure, R. A., & Krüger, I. H. (2005) · Proceedings of the 27th international conference on Software engineering - ICSE '05 · doi:10.1145/1062455.1062487 · Cited by 183 · cited 1×
“Researchers have also developed special libraries that can be used to safely create SQL queries [4, 17].”
BackgroundStatic checking of dynamically generated queries in database applications
Gould, C., Su, Z., & Dévanbu, P. (2004) · doi:10.5555/998675.999468 · Cited by 173
Safe query objects: statically typed objects as remotely executable queries
Cook, W. R., & Rai, S. (2005) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/1062455.1062488 · Cited by 124 · cited 1×
“Researchers have also developed special libraries that can be used to safely create SQL queries [4, 17].”
Background
Cited by
Schwartz, E. J., Avgerinos, T., & Brumley, D. (2010) · 2010 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2010.26 · Cited by 717
Improving application security with data flow assertions
Yip, A., Wang, X., Zeldovich, N., & Kaashoek, M. F. (2009) · Proceedings of the ACM SIGOPS 22nd symposium on Operating systems principles · doi:10.1145/1629575.1629604 · Cited by 175
Metadata
- Authors
- Halfond, W. G. J., Orso, A., & Manolios, P.
- Venue
- Proceedings of the 14th ACM SIGSOFT international symposium on Foundations of software engineering
- Publisher
- ACM
- Published
- 2006-11-05
- Pages
- 175-185
- OpenAlex
- W2147478478
- Cited by
- 211
- References
- 25
- FWCI
- 10.26
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.