A Comprehensive Formal Security Analysis of OAuth 2.0
Daniel Fett, Ralf Kuesters, Guido Schmitz

TL;DR
This paper provides the first comprehensive formal security analysis of OAuth 2.0, identifying vulnerabilities, proposing fixes, and proving the protocol's security under specified conditions in an expressive web model.
Contribution
It conducts the first extensive formal analysis of OAuth 2.0, discovering vulnerabilities, proposing fixes, and proving the security of the corrected protocol.
Findings
Identified four practical security vulnerabilities in OAuth 2.0.
Proposed fixes for the identified vulnerabilities.
Proved the security of OAuth 2.0 with best practices implemented.
Abstract
The OAuth 2.0 protocol is one of the most widely deployed authorization/single sign-on (SSO) protocols and also serves as the foundation for the new SSO standard OpenID Connect. Despite the popularity of OAuth, so far analysis efforts were mostly targeted at finding bugs in specific implementations and were based on formal models which abstract from many web features or did not provide a formal treatment at all. In this paper, we carry out the first extensive formal analysis of the OAuth 2.0 standard in an expressive web model. Our analysis aims at establishing strong authorization, authentication, and session integrity guarantees, for which we provide formal definitions. In our formal analysis, all four OAuth grant types (authorization code grant, implicit grant, resource owner password credentials grant, and the client credentials grant) are covered. They may even run simultaneously…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsWeb Application Security Vulnerabilities · Security and Verification in Computing · Access Control and Trust
