Adaptive Random Testing for XSS Vulnerability

被引:12
|
作者
Lv, Chengcheng [1 ]
Zhang, Long [2 ,3 ]
Zeng, Fanping [1 ]
Zhang, Jian [2 ,3 ]
机构
[1] Univ Sci & Technol China, Sch Comp Sci & Technol, Hefei, Peoples R China
[2] Chinese Acad Sci, Inst Software, State Key Lab Comp Sci, Beijing, Peoples R China
[3] Univ Chinese Acad Sci, Beijing, Peoples R China
基金
国家重点研发计划; 中国国家自然科学基金;
关键词
XSS Vulnerability; Adaptive Random Testing; Fuzzing;
D O I
10.1109/APSEC48747.2019.00018
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
XSS is one of the common vulnerabilities in web applications. Many black-box testing tools may collect a large number of payloads and traverse them to find a payload that can be successfully injected, but they are not very efficient. Previous research has paid less attention to how to improve the efficiency of black-box testing to detect XSS vulnerability. To improve the efficiency of testing, we develop an XSS testing tool. It collects 6128 payloads and uses a headless browser to detect XSS vulnerability. The tool can discover XSS vulnerability quickly with adaptive random testing method. We conduct an experiment using 3 extensively adopted open source vulnerable benchmarks and 2 actual websites to evaluate the adaptive random testing method. The experimental results indicate that the adaptive random testing method can effectively improve the fuzzing method by more than 27.1% in reducing the number of attempts before accomplishing a successful injection.
引用
收藏
页码:63 / 69
页数:7
相关论文
共 50 条
  • [31] A Novel Evolutionary Approach for Adaptive Random Testing
    Tappenden, Andrew F.
    Miller, James
    IEEE TRANSACTIONS ON RELIABILITY, 2009, 58 (04) : 619 - 633
  • [32] Adaptive random testing with enlarged input domain
    Mayer, Johannes
    Schneckenburger, Christoph
    QSIC 2006: SIXTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, PROCEEDINGS, 2006, : 251 - +
  • [33] An indepth study of mirror adaptive random testing
    Kuo, Fei-Ching
    2009 NINTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE (QSIC 2009), 2009, : 51 - 58
  • [34] Adaptive random testing through test profiles
    Liu, Huai
    Xie, Xiaodong
    Yang, Jing
    Lu, Yansheng
    Chen, Tsong Yueh
    SOFTWARE-PRACTICE & EXPERIENCE, 2011, 41 (10): : 1131 - 1154
  • [35] Adaptive Random Testing with Combinatorial Input Domain
    Huang, Rubing
    Chen, Jinfu
    Lu, Yansheng
    SCIENTIFIC WORLD JOURNAL, 2014,
  • [36] Adaptive random testing based on distribution metrics
    Chen, Tsong Yueh
    Kuo, Fei-Ching
    Liu, Huai
    JOURNAL OF SYSTEMS AND SOFTWARE, 2009, 82 (09) : 1419 - 1433
  • [37] Adaptive random testing through dynamic partitioning
    Chen, TY
    Eddy, G
    Merkel, R
    Wong, PK
    QSIC 2004: PROCEEDINGS OF THE FOURTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, 2004, : 79 - 86
  • [38] Adaptive random testing based on flexible partitioning
    Mao, Chengying
    Zhan, Xuzheng
    Chen, Jinfu
    Chen, Jifu
    Huang, Rubing
    IET SOFTWARE, 2020, 14 (05) : 493 - 505
  • [39] Adaptive random testing through iterative partitioning
    Chen, T. Y.
    Huang, De Hao
    Zhou, Zhi Quan
    RELIABLE SOFTWARE TECHNOLOGIES - ADA - EUROPE 2006, PROCEEDINGS, 2006, 4006 : 155 - 166
  • [40] Distribution metric driven adaptive random testing
    Chen, Tsong Yueh
    Kuo, Fei-Ching
    Liu, Huai
    USIC 2007: PROCEEDINGS OF THE SEVENTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, 2007, : 274 - 279