首页> 外文会议>IEEE International Conference on Software Maintenance and Evolution >Detecting DOM-Sourced Cross-Site Scripting in Browser Extensions
【24h】

Detecting DOM-Sourced Cross-Site Scripting in Browser Extensions

机译:检测浏览器扩展中的DOM-Sourced跨站点脚本

获取原文

摘要

In recent years, with the advances in JavaScript engines and the adoption of HTML5 APIs, web applications begin to show a tendency to shift their functionality from the server side towards the client side, resulting in dense and complex interactions with HTML documents using the Document Object Model (DOM). As a consequence, client-side vulnerabilities become more and more prevalent. In this paper, we focus on DOM-sourced Cross-site Scripting (XSS), which is a kind of severe but not well-studied vulnerability appearing in browser extensions. Comparing with conventional DOM-based XSS, a new attack surface is introduced by DOM-sourced XSS where the DOM could become a vulnerable source as well besides common sources such as URLs and form inputs. To discover such vulnerability, we propose a detecting framework employing hybrid analysis with two phases. The first phase is the lightweight static analysis consisting of a text filter and an abstract syntax tree parser, which produces potential vulnerable candidates. The second phase is the dynamic symbolic execution with an additional component named shadow DOM, generating a document as a proof-of-concept exploit. In our large-scale real-world experiment, 58 previously unknown DOM-sourced XSS vulnerabilities were discovered in user scripts of the popular browser extension Greasemonkey.
机译:近年来,随着JavaScript引擎的进步和采用HTML5 API,Web应用程序开始显示将其功能从服务器端转向客户端的趋势,从而导致使用文档对象与HTML文档的密集和复杂的交互模型(DOM)。因此,客户端漏洞变得越来越普遍。在本文中,我们专注于Dom-Sourced跨站点脚本(XS),这是一种严重但没有很好地学习的浏览器扩展中的漏洞。与传统的基于DOM的XSS进行比较,通过DOM源XS引入新的攻击表面,其中DOM可能成为一个易受攻击的源,除了诸如URL和表单输入之类的共同来源之外。要发现此类漏洞,我们提出了一种使用两相的混合分析的检测框架。第一阶段是由文本过滤器和抽象语法树解析器组成的轻量级静态分析,它产生潜在的易受攻击的候选者。第二阶段是具有名为Shadow DOM的附加组件的动态符号执行,将文档生成作为概念验证漏洞。在我们的大型现实世界实验中,58个以前未知的Dom-Sourced XSS漏洞是在流行浏览器扩展Greasemonkey的用户脚本中发现的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号