• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2013, Vol. 35 ›› Issue (2): 68-73.

• 论文 • Previous Articles     Next Articles

A static analysis method of antiSQL injection attack

QIN  Guangzan,GUO Fan,XU Fang,YU Min   

  1. (School of Computer Information and Engineering,Jiangxi Normal University,Nanchang 330022,China)
  • Received:2011-12-23 Revised:2012-04-17 Online:2013-02-25 Published:2013-02-25

Abstract:

This paper proposes a detection method of SQL injection attack based on static analysis. It statically analyzes the source pages of Web application, extracts taint to execution parameters’ constructed path and forms detection rules. The input parameters in rules are replaced by user input values during dynamic enforcement. By comparing the resulting SQL statements with the original SQL statements in the semantic and structural similarities and discrepancies, the method will determine whether SQL injection attack exists in the Web application. Experiments results show its effectiveness and feasibility since it has little effect on system performance after increasing the filtering module.

Key words: SQL injection;static analysis;construct path;detection rule;Web application