Cerberus: Query-driven Scalable Vulnerability Detection in OAuth Service Provider Implementations
摘要
OAuth protocols have been widely adopted to simplify user authentication and service authorization for third-party applications. However, little effort has been devoted to automatically checking the security of the libraries that service providers widely use. In this paper, we formalize the OAuth specifications and security best practices, and design Cerberus, an automated static analyzer, to find logical flaws and identify vulnerabilities in the implementation of OAuth service provider libraries. To efficiently detect security violations in a large codebase of service provider implementation, Cerberus employs a query-driven algorithm for answering queries about OAuth specifications. We demonstrate the effectiveness of Cerberus by evaluating it on datasets of popular OAuth libraries with millions of downloads. Among these high-profile libraries, Cerberus has identified 47 vulnerabilities from ten classes of logical flaws, 24 of which were previously unknown. We got acknowledged by the developers of eight libraries and had three accepted CVEs.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Mini-Programs, Mega-Problems: Unveiling OAuth-based Authentication Misuses in Mini-Programs via Dynamic Analysis 引用了 A Comprehensive Formal Security Analysis of OAuth 2.0
- Universal Cross-app Attacks: Exploiting and Securing OAuth 2.0 in Integration Platforms 引用了 A Comprehensive Formal Security Analysis of OAuth 2.0
- "Only as Strong as the Weakest Link": On the Security of Brokered Single Sign-On on the Web 引用了 A Comprehensive Formal Security Analysis of OAuth 2.0
- HideNoSeek: Camouflaging Malicious JavaScript in Benign ASTs 引用了 SYNODE: Understanding and Automatically Preventing Injection Attacks on NODE.JS
引用它的顶会 Paper6
- NetCap: Data-Plane Capability-Based Defense Against Token Theft in Network AccessOsama Bajaber, Bo Ji, Peng GaoNDSS 2026 · 2 次引用
- Mini-Programs, Mega-Problems: Unveiling OAuth-based Authentication Misuses in Mini-Programs via Dynamic AnalysisZidong Zhang, Zhentao Xie, Lingyun Ying, Qinsheng Hou 等CCS 2026
- Universal Cross-app Attacks: Exploiting and Securing OAuth 2.0 in Integration PlatformsKaixuan Luo, Xianbo Wang, Adonis P. H. Fung, Wing Cheong Lau 等USENIX Security 2025
- Automated Repair of OpenID Connect ProgramsTamjid Al Rahat, Yanju Chen, Yu Feng, Yuan TianASE 2025
- "Only as Strong as the Weakest Link": On the Security of Brokered Single Sign-On on the WebTommaso Innocenti, Louis Jannett, Christian Mainka, Vladislav Mladenov 等S&P 2025
它引用的 Paper10
- A Comprehensive Formal Security Analysis of OAuth 2.0Daniel Fett, Ralf Küsters, Guido SchmitzCCS 2016 · 228 次引用
- CryptoGuard: High Precision Detection of Cryptographic Vulnerabilities in Massive-sized Java ProjectsSazzadur Rahaman, Ya Xiao, Sharmin Afrose, Fahad Shaon 等CCS 2019 · 159 次引用
- SYNODE: Understanding and Automatically Preventing Injection Attacks on NODE.JSCristian-Alexandru Staicu, Michael Pradel, Benjamin LivshitsNDSS 2018 · 91 次引用
- HideNoSeek: Camouflaging Malicious JavaScript in Benign ASTsAurore Fass, Michael Backes, Ben StockCCS 2019 · 78 次引用
- Precise Android API Protection Mapping Derivation and ReasoningYousra Aafer, Guanhong Tao, Jianjun Huang, Xiangyu Zhang 等CCS 2018 · 51 次引用
相关 Paper
- AuthSaber: Automated Safety Verification of OpenID Connect ProgramsTamjid Al Rahat, Yu Feng, Yuan TianCCS 2024 · 1 次引用
- WPSE: Fortifying Web Protocols via Browser-Side Security MonitoringStefano Calzavara, Riccardo Focardi, Matteo Maffei, Clara Schneidewind 等USENIX Security 2018 · 29 次引用
- An empirical study on the effectiveness of static C code analyzers for vulnerability detectionStephan Lipp, Sebastian Banescu, Alexander PretschnerISSTA 2022 · 99 次引用
- Vetting Single Sign-On SDK Implementations via Symbolic ReasoningRonghai Yang, Wing Cheong Lau, Jiongyi Chen, Kehuan ZhangUSENIX Security 2018 · 20 次引用
- Audience Injection Attacks: A New Class of Attacks on Web-Based Authorization and Authentication StandardsPedram Hosseyni, Ralf Küsters, Tim WürteleS&P 2026 · 1 次引用
