Skip to main content
QUICK REVIEW

[Paper Review] SPRESSO: A Secure, Privacy-Respecting Single Sign-On System for the Web

Daniel Fett, R. Kuesters|arXiv (Cornell University)|Aug 7, 2015
Advanced Authentication Protocols SecurityComputer Science19 references11 citations
TL;DR

SPRESSO is the first privacy-respecting single sign-on (SSO) system for the web that prevents identity providers (IdPs) from learning which relying parties (RPs) users authenticate with. It uses only standard HTML5 and web features, operates without browser extensions, and formally proves strong authentication and end-to-end privacy through a rigorous model-based security analysis, addressing critical flaws in prior systems like OpenID, OAuth, and BrowserID.

ABSTRACT

Single sign-on (SSO) systems, such as OpenID and OAuth, allow web sites, so-called relying parties (RPs), to delegate user authentication to identity providers (IdPs), such as Facebook or Google. These systems are very popular, as they provide a convenient means for users to log in at RPs and move much of the burden of user authentication from RPs to IdPs. There is, however, a downside to current systems, as they do not respect users' privacy: IdPs learn at which RP a user logs in. With one exception, namely Mozilla's BrowserID system (a.k.a. Mozilla Persona), current SSO systems were not even designed with user privacy in mind. Unfortunately, recently discovered attacks, which exploit design flaws of BrowserID, show that BrowserID does not provide user privacy either. In this paper, we therefore propose the first privacy-respecting SSO system for the web, called SPRESSO (for Secure Privacy-REspecting Single Sign-On). The system is easy to use, decentralized, and platform independent. It is based solely on standard HTML5 and web features and uses no browser extensions, plug-ins, or other executables. Existing SSO systems and the numerous attacks on such systems illustrate that the design of secure SSO systems is highly non-trivial. We therefore also carry out a formal analysis of SPRESSO based on an expressive model of the web in order to formally prove that SPRESSO enjoys strong authentication and privacy properties.

Motivation & Objective

  • To address the critical privacy flaw in existing SSO systems, where IdPs learn which RPs users authenticate with.
  • To design a decentralized, platform-independent SSO system that does not rely on browser extensions or plugins.
  • To formally prove that SPRESSO provides strong authentication and end-to-end privacy against both honest-but-curious and active attackers.
  • To overcome the fundamental design flaws in prior privacy-focused systems like Mozilla BrowserID, which were recently broken by practical attacks.
  • To provide a formally verified, deployable SSO solution based solely on standard web technologies (HTML5, HTTP, DNS, etc.).

Proposed method

  • SPRESSO uses a novel challenge-response mechanism with cryptographically tagged assertions to bind user identities to RPs without revealing the RP to the IdP.
  • It leverages browser-native features such as cross-origin communication, cookies, and DNS resolution, avoiding the need for extensions or custom clients.
  • The system employs a formal web model that captures browser state, network communication, and attacker capabilities to model realistic attack scenarios.
  • A privacy proof is constructed using a notion of indistinguishability between system configurations under a formal equivalence relation that hides RP identity from the IdP.
  • The authentication security is formally verified using a process calculus model that ensures only authorized users can generate valid identity assertions.
  • The entire system is implemented using standard web protocols and is designed to be backward compatible with existing web infrastructure.

Experimental results

Research questions

  • RQ1Can a decentralized, standards-based SSO system be designed that prevents identity providers from learning which relying parties users authenticate with?
  • RQ2Can such a system be formally proven to provide strong privacy and authentication guarantees under realistic threat models?
  • RQ3Can the system be implemented using only standard HTML5 and web features without requiring browser plugins or extensions?
  • RQ4Can the system resist known attacks that compromise prior SSO systems, including those targeting BrowserID’s design flaws?
  • RQ5Is it possible to achieve end-to-end privacy in SSO without sacrificing usability or relying on trusted third parties?

Key findings

  • SPRESSO is the first SSO system that formally guarantees end-to-end privacy, ensuring that even a malicious IdP cannot learn which relying party a user is authenticating with.
  • The system is fully implemented using only standard web technologies (HTML5, HTTP, cookies, DNS), making it deployable without modifications to browsers or infrastructure.
  • Formal verification using a comprehensive web model proves that SPRESSO satisfies strong authentication and indistinguishability-based privacy properties.
  • The system resists known attacks on prior SSO protocols, including those that exploit identity correlation in OpenID, OAuth, and BrowserID.
  • The model-based proof demonstrates that SPRESSO’s privacy holds even against powerful adversaries who can observe all network traffic and manipulate browser state.
  • The system maintains usability, allowing one-click login and seamless integration with existing web applications.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.