arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1706.06932cs.CR
收藏

WebPol:面向Web浏览器的细粒度信息流策略

WebPol: Fine-grained Information Flow Policies for Web Browsers

Abhishek Bichhawat, Vineet Rajani, Jinank Jain, Deepak Garg, Christian Hammer

AI总结:

针对现有浏览器安全机制粒度过粗、无法平衡第三方脚本数据访问需求与泄露防护的问题,提出WebPol细粒度信息流策略机制,支持用JavaScript语法定义数据访问规则,可基于现有信息流跟踪方案实施,经集成测试验证了可行性。

摘要:

在标准的Web浏览器编程模型中,应用内引入的第三方脚本与应用自身代码以相同权限运行,这使得应用的机密数据易遭恶意代码窃取泄露,也易因第三方脚本中的意外漏洞出现数据泄露。现代浏览器的安全机制(同源策略、跨域资源共享、内容安全策略)粒度过粗,无法适配这种编程模型。所有这些机制(及其扩展)仅规定脚本是否可访问特定数据,但实际有意义的需求是:允许不受信任的脚本访问其所需的机密数据,同时阻止脚本私自泄露数据。受这一研究缺口驱动,我们提出WebPol——一种策略机制,允许网站开发者以开发者熟悉的JavaScript编程语言语法,为应用机密数据设置细粒度策略。这些策略可与任意网页元素关联,明确规定元素的哪些方面可被哪些第三方域访问。脚本可以访问策略允许其访问的数据,但不得违反策略将该数据(或由其衍生的数据)传递给其他脚本或远程主机。为实现策略定义,我们在JavaScript中新增了少量原生API。我们的策略可通过现有众多Web浏览器信息流跟踪方案中的任意一种来实施。我们已将该策略集成到其中一种方案中,用以评估性能开销并测试相关示例。

英文摘要:

In the standard web browser programming model, third-party scripts included in an application execute with the same privilege as the application's own code. This leaves the application's confidential data vulnerable to theft and leakage by malicious code and inadvertent bugs in the third-party scripts. Security mechanisms in modern browsers (the same-origin policy, cross-origin resource sharing and content security policies) are too coarse to suit this programming model. All these mechanisms (and their extensions) describe whether or not a script can access certain data, whereas the meaningful requirement is to allow untrusted scripts access to confidential data that they need and to prevent the scripts from leaking data on the side. Motivated by this gap, we propose WebPol, a policy mechanism that allows a website developer to include fine-grained policies on confidential application data in the familiar syntax of the JavaScript programming language. The policies can be associated with any webpage element, and specify what aspects of the element can be accessed by which third-party domains. A script can access data that the policy allows it to, but it cannot pass the data (or data derived from it) to other scripts or remote hosts in contravention of the policy. To specify the policies, we expose a small set of new native APIs in JavaScript. Our policies can be enforced using any of the numerous existing proposals for information flow tracking in web browsers. We have integrated our policies into one such proposal that we use to evaluate performance overheads and to test our examples.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑