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

使用Web的表达模型分析具有主身份提供者的BrowserID SSO系统

Analyzing the BrowserID SSO System with Primary Identity Providers Using an Expressive Model of the Web

Daniel Fett, Ralf Kuesters, Guido Schmitz

摘要:

BrowserID是Mozilla最近开发的一个复杂的、真实的Web应用程序单点登录(SSO)系统。它采用新的HTML5功能(如Web消息和Web存储)和加密断言来提供分散的登录,旨在尊重用户的隐私。它可以在主要和次要身份提供者模式下操作。在主模式下,BrowserID与任意身份提供程序(IdP)一起运行,而在辅助模式下,只有一个IdP,即Mozilla的默认IdP。最近,我们提出了一个表达的通用模型的Web基础设施,并在此Web模型的基础上,分析了二级身份验证模式的BrowserID的安全性。分析揭示了几个严重的弱点。在本文中,我们通过分析BrowserID的更复杂的主IdP模式来补充我们之前的工作。我们不仅像以前一样研究认证属性,而且还研究隐私属性。在我们的分析过程中,我们发现了不适用于二级模式的新的和实际的攻击:身份注入攻击,它违反了SSO系统的中央身份验证属性,以及破坏BrowserID的重要隐私承诺的攻击,如果不对系统进行重大重新设计,这些攻击似乎是不可修复的。我们对隐私的一些攻击利用了浏览器侧通道,到目前为止还没有得到很多关注。对于身份验证错误,我们提出了一个修复方案,并在我们的通用Web模型的轻微扩展中正式证明,修复后的系统满足我们考虑的所有要求。这构成了迄今为止基于Web基础设施的表达模型的Web应用程序的最复杂的形式化分析。作为另一个贡献,我们确定并证明了重要的安全属性的通用Web功能的扩展Web模型,以方便未来的Web标准和Web应用程序的分析工作。

英文摘要:

BrowserID is a complex, real-world Single Sign-On (SSO) System for web applications recently developed by Mozilla. It employs new HTML5 features (such as web messaging and web storage) and cryptographic assertions to provide decentralized login, with the intent to respect users' privacy. It can operate in a primary and a secondary identity provider mode. While in the primary mode BrowserID runs with arbitrary identity providers (IdPs), in the secondary mode there is one IdP only, namely Mozilla's default IdP. We recently proposed an expressive general model for the web infrastructure and, based on this web model, analyzed the security of the secondary IdP mode of BrowserID. The analysis revealed several severe vulnerabilities. In this paper, we complement our prior work by analyzing the even more complex primary IdP mode of BrowserID. We do not only study authentication properties as before, but also privacy properties. During our analysis we discovered new and practical attacks that do not apply to the secondary mode: an identity injection attack, which violates a central authentication property of SSO systems, and attacks that break an important privacy promise of BrowserID and which do not seem to be fixable without a major redesign of the system. Some of our attacks on privacy make use of a browser side channel that has not gained a lot of attention so far. For the authentication bug, we propose a fix and formally prove in a slight extension of our general web model that the fixed system satisfies all the requirements we consider. This constitutes the most complex formal analysis of a web application based on an expressive model of the web infrastructure so far. As another contribution, we identify and prove important security properties of generic web features in the extended web model to facilitate future analysis efforts of web standards and web applications.

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

↑