A Static Analysis Framework For Detecting SQL Injection Vulnerabilities
Xiang Fu, Xin Zhong Lu, Boris Peltsverger, Shijun Chen, Kai Guo Qian, Lixin Tao · Proceedings - International Computer Software & Applications Conference · 2007
Recently SQL injection attack (SIA) has become a major threat to Web applications. Via carefully crafted user input, attackers can expose or manipulate the back-end database of a Web application. This paper proposes the construction and outlines the design of a static analysis framework (called SAFELI) for identifying SIA vulnerabilities at compile time. SAFELI statically inspects MSIL bytecode of an ASP.NET Web application, using symbolic execution. At each hotspot that submits SQL query, a hybrid constraint solver is used to find out the corresponding user input that could lead to breach of information security. Once completed, SAFELI has the future potential to discover more delicate SQL injection attacks than black-box Web security inspection tools.