Generating Test Paths to Detect XSS Vulnerabilities of Web Applications
Authors:
- 31 October 2022
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 287-293
Abstract
Web technologies have developed rapidly because web applications are currently leading the trends in software development. In the face of emerging security issues, preventing software security vulnerabilities is a great concern for developers, vendors, and customers. In fact, the cross-site scripting (XSS) attack is a very popular type of attack that causes security vulnerabilities in web systems. However, when testing to detect XSS attacks for web applications, optimizing the test paths still has some problems with the time or space of the test paths. Therefore, in this paper, we propose a method to solve this problem. Our approach uses Q-learning in generating automated test paths to test XSS vulnerabilities for web applications. The proposed method consists of generating the graph of the web application, setting the weight for the graph, building the memory matrix, and generating test paths. We have experimented proposed approach with the online learning website system. The experimental results show a significant reduction in the number of test paths and this helps to reduce the test case space and test time to detect XSS vulnerabilities of web applications.Keywords
This publication has 11 references indexed in Scilit:
- Cross-Site Scripting Attacks2020
- A Survey on XSS Attack Detection and Prevention in Web Applications2020
- Attacks on Web Application Caused by Cross Site Scripting2018
- Analysis of Field Data on Web Security VulnerabilitiesIEEE Transactions on Dependable and Secure Computing, 2013
- A Survey on Web Application Vulnerabilities (SQLIA, XSS) Exploitation and Security Engine for SQL Injection2012
- An Overview of Penetration TestingInternational journal of Network Security & Its Applications, 2011
- A model-driven penetration test framework for Web applications2010
- Penetration Testing with Improved Input Vector Identification2009
- Software penetration testingIEEE Security & Privacy, 2005
- Reinforcement Learning: An IntroductionIEEE Transactions on Neural Networks, 1998