Practical Combinatorial Testing for XSS Detection using Locally Optimized Attack Models

D. Simos, Bernhard Garn, Jovan Zivanovic, Manuel Leithner
{"title":"Practical Combinatorial Testing for XSS Detection using Locally Optimized Attack Models","authors":"D. Simos, Bernhard Garn, Jovan Zivanovic, Manuel Leithner","doi":"10.1109/ICSTW.2019.00040","DOIUrl":null,"url":null,"abstract":"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.","PeriodicalId":310230,"journal":{"name":"2019 IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-04-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSTW.2019.00040","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于局部优化攻击模型的跨站攻击检测组合测试
在本文中,我们提出了一种组合测试方法,用于复杂web应用程序的自动黑盒安全测试。我们的工作重点是识别跨站点脚本(XSS)漏洞。提出了一种由局部优化攻击模型组成的跨站攻击向量测试用例生成的新建模方案。建模方法考虑到web应用程序的响应和行为,并且在与组合测试结合使用时特别有效。除了建模方案之外,我们还提出了一个名为XSSInjector的安全测试工具的研究原型,该工具可以执行根据我们的方法生成的针对web应用程序的攻击向量。该工具还采用了一个新开发的测试oracle来检测XSS,它允许我们精确地识别注入的JavaScript是否被实际执行,从而消除误报。我们的测试方法足够通用,可以应用于任何返回HTML代码的web应用程序。我们描述了我们方法的基础,并通过使用验证框架和真实世界的web应用程序的广泛案例研究来验证它。特别是,我们在流行的论坛软件、图书馆管理系统和画廊软件包中发现了几个新的关键漏洞。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Applying Combinatorial Testing to Large-Scale Data Processing at Adobe Crucial Tool Features for Successful Combinatorial Input Parameter Testing in an Industrial Application Practical Combinatorial Testing for XSS Detection using Locally Optimized Attack Models Learning to Restrict Test Range for Compiler Test Estimating the Number of Equivalent Mutants
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1