Automatic Web Security Unit Testing: XSS Vulnerability Detection

ICSE '16: 38th International Conference on Software Engineering Austin Texas May, 2016(2018)

引用 26|浏览52
暂无评分
摘要
Integrating security testing into the workflow of software developers not only can save resources for separate security testing but also reduce the cost of fixing security vulnerabilities by detecting them early in the development cycle. We present an automatic testing approach to detect a common type of Cross Site Scripting (XSS) vulnerability caused by improper encoding of untrusted data. We automatically extract encoding functions used in a web application to sanitize untrusted inputs and then evaluate their effectiveness by automatically generating XSS attack strings. Our evaluations show that this technique can detect 0-day XSS vulnerabilities that cannot be found by static analysis tools. We will also show that our approach can efficiently cover a common type of XSS vulnerability. This approach can be generalized to test for input validation against other types injections such as command line injection.
更多
查看译文
关键词
Sanitization evaluation,Unit testing,Security test harness,cross site scripting (XSS),program analysis,Attack generation
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要