A Classification of SQL-Injection Attacks and Countermeasures

William G. J. Halfond, Jeremy Viegas, Alessandro Orso

Oecologia · 2006 · 596 citations · 14 references

Concepts

TL;DR

SQL injection attacks pose a serious security threat to web applications by granting attackers unrestricted access to databases and sensitive data, yet existing countermeasures either fail to cover the full scope of the problem or suffer limitations that hinder adoption, and many practitioners are only aware of a subset of attack techniques, causing solutions to address only some aspects of SQL injection. The authors aim to comprehensively review all known types of SQL injection attacks. They describe each attack type with examples of execution and analyze existing detection and prevention techniques against SQL injection. For each technique, they evaluate its strengths and weaknesses in covering the entire spectrum of SQL injection attacks.

Abstract

SQL injection attacks pose a serious security threat to Web applications: they allow attackers to obtain unrestricted access to the databases underlying the applications and to the potentially sensitive information these databases contain. Although researchers and practitioners have proposed various methods to address the SQL injection problem, current approaches either fail to address the full scope of the problem or have limitations that prevent their use and adoption. Many researchers and practitioners are familiar with only a subset of the wide range of techniques available to attackers who are trying to take advantage of SQL injection vulnerabilities. As a consequence, many solutions proposed in the literature address only some of the issues related to SQL injection. To address this problem, we present an extensive review of the different types of SQL injection attacks known to date. For each type of attack, we provide descriptions and examples of how attacks of that type could be performed. We also present and analyze existing detection and prevention techniques against SQL injection attacks. For each technique, we discuss its strengths and weaknesses in addressing the entire range of SQL injection attacks.

References

14