作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (18): 111-115. doi: 10.3969/j.issn.1000-3428.2012.18.030

• 安全技术 • 上一篇    下一篇

基于网页DOM树比对的SQL注入漏洞检测

张 晨,汪永益,王 雄,施 凡   

  1. (电子工程学院网络工程系,合肥 230037)
  • 收稿日期:2011-11-17 修回日期:2012-02-02 出版日期:2012-09-20 发布日期:2012-09-18
  • 作者简介:张 晨(1985-),男,硕士研究生,主研方向:网络安全;汪永益,教授;王 雄,硕士研究生;施 凡,讲师

SQL Injection Vulnerability Detection Based on Webpage DOM Tree Comparison

ZHANG Chen, WANG Yong-yi, WANG Xiong, SHI Fan   

  1. (Department of Network Engineering, Electronic Engineering Institute, Hefei 230037, China)
  • Received:2011-11-17 Revised:2012-02-02 Online:2012-09-20 Published:2012-09-18

摘要: 针对传统SQL注入漏洞检测方法准确率不高的问题,提出一种基于网页文档对象模型(DOM)树比对结果的检测方法。通过简化基于节点序列的网页比对方法,减少节点比对次数,加快检测效率,并设计实现一个SQL注入漏洞检测原型系统。实验结果表明,该系统具有较高的SQL注入漏洞检测效率和准确率。

关键词: 网页比对, SQL注入, 注入漏洞检测, 文档对象模型树, DOM树快速比对

Abstract: Aiming at the problem that traditional SQL injection vulnerability detection results have low accurateness, this paper presents a detection method based on the comparison results of the Webpage’s Document Object Model(DOM) tree. By simplifying the Web comparison algorithm based on node sequences, it reduces the number of node compare times, and accelerates the detection. A corresponding SQL injection vulnerability detection prototype system is designed and implied. Experimental results indicate that the system has high detection efficiency and accurateness.

Key words: Webpage comparison, SQL injection, injection vulnerability detection, Document Object Model(DOM) tree, fast DOM tree comparison

中图分类号: