학술논문

A Source Code Cross-site Scripting Vulnerability Detection Method
Document Type
Report
Source
KSII Transactions on Internet and Information Systems. June, 2023, Vol. 17 Issue 6, p1689, 17 p.
Subject
China
Language
English
ISSN
1976-7277
Abstract
To deal with the potential XSS vulnerabilities in the source code of the power communication network, an XSS vulnerability detection method combining the static analysis method with the dynamic testing method is proposed. The static analysis method aims to analyze the structure and content of the source code. We construct a set of feature expressions to match malignant content and set a "variable conversion" method to analyze the data flow of the code that implements interactive functions. The static analysis method explores the vulnerabilities existing in the source code structure and code content. Dynamic testing aims to simulate network attacks to reflect whether there are vulnerabilities in web pages. We construct many attack vectors and implemented the test in the Selenium tool. Due to the combination of the two analysis methods, XSS vulnerability discovery research could be conducted from two aspects: "white-box testing" and "black-box testing". Tests show that this method can effectively detect XSS vulnerabilities in the source code of the power communication network. Keywords: Vulnerability detection, XSS(cross-site scripting) vulnerability, Static analysis, Dynamic testing, Webpage attack simulation
1. Introduction With the continuous development and the increasing expansion of power networks, The security of the network's communication is becoming increasingly significant. Cross-site Scripting Vulnerability(XSS) is one of the [...]