arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1508.04324cs.CR
收藏

现代单点登录协议的安全性研究:OpenID Connect的二阶漏洞

On the security of modern Single Sign-On Protocols: Second-Order Vulnerabilities in OpenID Connect

Vladislav Mladenov, Christian Mainka, Jörg Schwenk

摘要:

OAuth是Web授权的新事实标准。OAuth的一个重要限制是它是为授权而不是身份验证而设计的。因此,使用OAuth进行身份验证会导致严重的漏洞,如Zhou et. [44]和Chen et.等[9]。OpenID Connect是在OAuth之上创建的,通过提供联合身份管理和用户身份验证来填补这一空白。OpenID Connect于2014年2月标准化,但Google,Microsoft,AOL和PayPal等领先公司已经在其Web应用程序中使用它[1],[2],[3],[30]。在本文中,我们描述了OpenID Connect协议,并提供了第一次深入分析的关键功能之一:发现和动态注册扩展。我们提出了一类新的攻击OpenID连接,属于二阶漏洞的类别。这些攻击包括两个阶段:首先,注入有效载荷由合法应用程序存储。稍后,此有效载荷用于安全关键操作。我们的新攻击类别-称为恶意端点攻击-利用OpenID Connect扩展发现和动态注册。这些攻击会破坏用户身份验证,损害用户隐私,并启用服务器端请求伪造(SSRF),客户端代码注入和拒绝服务(DoS)。因此,当这些扩展以其目前的形式启用时,OpenID Connect协议的安全性无法得到保证。我们联系了OpenID Connect和OAuth规范的作者。他们承认我们的恶意端点攻击,并认识到需要改进规范[29]。我们目前正在讨论如何缓解现有的问题,以及如何扩展OAuth规范。

英文摘要:

OAuth is the new de facto standard for delegating authorization in the web. An important limitation of OAuth is the fact that it was designed for authorization and not for authentication. The usage of OAuth for authentication thus leads to serious vulnerabilities as shown by Zhou et. al. in [44] and Chen et. al. in [9]. OpenID Connect was created on top of OAuth to fill this gap by providing federated identity management and user authentication. OpenID Connect was standardized in February 2014, but leading companies like Google, Microsoft, AOL and PayPal are already using it in their web applications [1], [2], [3], [30]. In this paper we describe the OpenID Connect protocol and provide the first in-depth analysis of one of the key features of OpenID Connect: the Discovery and the Dynamic Registration extensions.We present a new class of attacks on OpenID Connect that belong to the category of second-order vulnerabilities. These attacks consist of two phases: First, the injection payload is stored by the legitimate application. Later on, this payload is used in a security-critical operation. Our new class of attacks - called Malicious Endpoints attacks - exploits the OpenID Connect extensions Discovery and Dynamic Registration. These attacks break user authentication, compromise user privacy, and enable Server Side Request Forgery (SSRF), client-side code injection, and Denial-of-Service (DoS). As a result, the security of the OpenID Connect protocol cannot be guaranteed when these extensions are enabled in their present form. We contacted the authors of the OpenID Connect and OAuth specifications. They acknowledged our Malicious Endpoint attacks and recognized the need to improve the specification [29]. We are currently involved in the discussion regarding the mitigation of the existing issues and an extension to the OAuth specification.

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

↑