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

被扩展程序加冕:通过 Debugger API 滥用 Chrome DevTools 协议

Chrowned by an Extension: Abusing the Chrome DevTools Protocol through the Debugger API

José Miguel Moreno, Narseo Vallina-Rodriguez, Juan Tapiador

AI总结:

本文揭示了 Chromium 浏览器 Debugger API 及扩展权限授予机制中的多个漏洞,提出六种攻击以窃取信息、监控流量、篡改权限、绕过安全警告并修改设置,并给出缓解建议。

摘要:

Chromium 开源项目已成为当今 Web 的基础组成部分,多家厂商基于其代码库提供浏览器。其最受欢迎的功能之一是通过被称为浏览器扩展的第三方程序来改变或增强浏览器功能。扩展通过使用 Chromium 暴露的 API 可以访问广泛的能力。Debugger API——可以说是此类 API 中最强大的——允许扩展使用 Chrome DevTools 协议(CDP),这是一种用于调试和检测浏览器的功能丰富的工具。在本文中,我们描述了 Debugger API 以及向扩展授予能力的过程中存在的若干漏洞,攻击者可以利用这些漏洞控制浏览器、提升权限并破坏上下文隔离。我们通过引入六种攻击来展示其影响,这些攻击允许攻击者窃取用户信息、监控网络流量、修改站点权限(例如访问摄像头或麦克风)、在无需用户干预的情况下绕过安全警告页面,以及更改浏览器设置。我们的攻击适用于所有基于 Chromium 的主流浏览器,因为它们根植于 Chromium 项目的核心。我们已将发现报告给 Chromium 开发团队,该团队已修复其中部分漏洞,目前正在修复其余漏洞。最后,我们讨论了有问题的设计决策、缺乏公开规范以及过于强大的 Debugger API 如何促成了这些攻击,并提出了缓解措施。

英文摘要:

The Chromium open-source project has become a fundamental piece of the Web as we know it today, with multiple vendors offering browsers based on its codebase. One of its most popular features is the possibility of altering or enhancing the browser functionality through third-party programs known as browser extensions. Extensions have access to a wide range of capabilities through the use of APIs exposed by Chromium. The Debugger API -- arguably the most powerful of such APIs -- allows extensions to use the Chrome DevTools Protocol (CDP), a capability-rich tool for debugging and instrumenting the browser. In this paper, we describe several vulnerabilities present in the Debugger API and in the granting of capabilities to extensions that can be used by an attacker to take control of the browser, escalate privileges, and break context isolation. We demonstrate their impact by introducing six attacks that allow an attacker to steal user information, monitor network traffic, modify site permissions (\eg access to camera or microphone), bypass security interstitials without user intervention, and change the browser settings. Our attacks work in all major Chromium-based browsers as they are rooted at the core of the Chromium project. We reported our findings to the Chromium Development Team, who already fixed some of them and are currently working on fixing the remaining ones. We conclude by discussing how questionable design decisions, lack of public specifications, and an overpowered Debugger API have contributed to enabling these attacks, and propose mitigations.

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

↑