跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 密码学与安全

arXiv:1804.00755 (cs)
[提交于 2018年4月4日]

标题:Detecting Cross-Site Scripting Vulnerabilities through Automated Unit Testing

作者:Mahmoud Mohammadi, Bill Chu, Heather Richter Lipford
查看论文《Detecting Cross-Site Scripting Vulnerabilities through Automated Unit Testing》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The best practice to prevent Cross Site Scripting (XSS) attacks is to apply encoders to sanitize untrusted data. To balance security and functionality, encoders should be applied to match the web page context, such as HTML body, JavaScript, and style sheets. A common programming error is the use of a wrong encoder to sanitize untrusted data, leaving the application vulnerable. We present a security unit testing approach to detect XSS vulnerabilities caused by improper encoding of untrusted data. Unit tests for the XSS vulnerability are automatically constructed out of each web page and then evaluated by a unit test execution framework. A grammar-based attack generator is used to automatically generate test inputs. We evaluate our approach on a large open source medical records application, demonstrating that we can detect many 0-day XSS vulnerabilities with very low false positives, and that the grammar-based attack generator has better test coverage than industry best practices.
主题: 密码学与安全 (cs.CR)
引用方式: arXiv:1804.00755 [cs.CR]
  (或者 arXiv:1804.00755v1 [cs.CR] 对于此版本)
  https://doi.org/10.48550/arXiv.1804.00755

提交历史

来自:Mahmoud Mohammadi
[v1] 2018年4月4日 星期三 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.CR
< 上一篇   |   下一篇 >
最新 | 近期 | 2018-04
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站