Practical Combinatorial Testing for XSS Detection using Locally Optimized Attack Models
Dimitris E. Simos, Bernhard Garn, Jovan Zivanovic et al. · IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW) · 2019
In this paper, we present a combinatorial testing methodology for automated black-box security testing of complex web applications. The focus of our work is the identification of Cross-site Scripting (XSS) vulnerabilities. We introduce a new modelling scheme for test case generation of XSS attack vectors consisting of locally optimized attack models. The modelling approach takes into account the response and behavior of the web application and is particularly efficient when used in conjunction with combinatorial testing. In addition to the modelling scheme, we present a research prototype of a security testing tool called XSSInjector, which executes attack vectors generated from our methodology against web applications. The tool also employs a newly developed test oracle for detecting XSS which allow us to precisely identify whether injected JavaScript is actually executed and thus eliminate false positives. Our testing methodology is sufficiently generic to be applied to any web application that returns HTML code. We describe the foundations of our approach and validate it via an extensive case study using a verification framework and real world web applications. In particular, we have found several new critical vulnerabilities in popular forum software, library management systems and gallery packages.
Cited by 14 works. doi:10.1109/icstw.2019.00040
Authors
References
- Orthogonal Latin squares: an application of experiment design to compiler testing
- Automatic creation of SQL Injection and cross-site scripting attacks
- Saner: Composing Static and Dynamic Analysis to Validate Sanitization in Web Applications
- Combination testing strategies: a survey
- Using web security scanners to detect vulnerabilities in web services
- Toward automated detection of logic vulnerabilities in web applications
- Using formal methods to derive test frames in category-partition testing
- Introduction to Combinatorial Testing
- Antirandom testing: getting the most out of black-box testing
- 25 million flows later