Model-driven penetration test of the SQL injection in Web applications

Wei Tian,Jing Xu,Jufeng Yang,Ying Zhang,Lei Liu
DOI: https://doi.org/10.3772/j.issn.1002-0470.2012.11.009
2012-01-01
Abstract:To resolve the problem of how to generate adequate test cases to reduce the false negative in penetration testing for the SQL (structured query language) injection vulnerability, this paper proposes a novel model-driven penetration test case generation method. This method divides the penetration test case generation for the SQL injection vulnerability into two steps: 1) Building the model of penetration test case, which reveals the regularity of current SQL injection attacks to expound what test case should be used and describes them in a formal way; and 2) Instantiating the penetration test case model according to a series of coverage criteria proposed in the study to generate the test case covering more attack patterns. The experiment shows that compared with randomly enumerated test cases used in the current related work, the test cases generated by the proposed method can more effectively find the SQL injection vulnerability hidden behind the inadequate defense mechanism, which reduces the false negative and improves the test accuracy.
What problem does this paper attempt to address?