Cross-Origin State Inference (COSI) Attacks: Leaking Web Site States through XS-Leaks
摘要
In a Cross-Origin State Inference (COSI) attack, an attacker convinces a victim into visiting an attack web page, which leverages the cross-origin interaction features of the victim's web browser to infer the victim's state at a target web site. Multiple instances of COSI attacks have been found in the past under different names such as login detection or access detection attacks. But, those attacks only consider two states (e.g., logged in or not) and focus on a specific browser leak method (or XS-Leak). This work shows that mounting more complex COSI attacks such as deanonymizing the owner of an account, determining if the victim owns sensitive content, and determining the victim's account type often requires considering more than two states. Furthermore, robust attacks require supporting a variety of browsers since the victim's browser cannot be predicted apriori. To address these issues, we present a novel approach to identify and build complex COSI attacks that differentiate more than two states and support multiple browsers by combining multiple attack vectors, possibly using different XS-Leaks. To enable our approach, we introduce the concept of a COSI attack class. We propose two novel techniques to generalize existing COSI attack instances into COSI attack classes and to discover new COSI attack classes. We systematically apply our techniques to existing attacks, identifying 40 COSI attack classes. As part of this process, we discover a novel XS-Leak based on window.postMessage. We implement our approach into Basta-COSI, a tool to find COSI attacks in a target web site. We apply Basta-COSI to test four stand-alone web applications and 58 popular web sites, finding COSI attacks against each of them.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 20 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- DISTINCT: Identity Theft using In-Browser Communications in Dual-Window Single Sign-On 引用了 How the Web Tangled Itself: Uncovering the History of Client-Side Web (In)Security
- Who Left Open the Cookie Jar? A Comprehensive Evaluation of Third-Party Cookie Policies 引用了 Same-Origin Policy: Evaluation in Modern Browsers
- The State of the SameSite: Studying the Usage, Effectiveness, and Adequacy of SameSite Cookies 引用了 JAW: Studying Client-side CSRF with Hybrid Property Graphs and Declarative Traversals
- The State of the SameSite: Studying the Usage, Effectiveness, and Adequacy of SameSite Cookies 引用了 Leaky Images: Targeted Privacy Attacks in the Web
- The State of the SameSite: Studying the Usage, Effectiveness, and Adequacy of SameSite Cookies 引用了 Who Left Open the Cookie Jar? A Comprehensive Evaluation of Third-Party Cookie Policies
- The State of the SameSite: Studying the Usage, Effectiveness, and Adequacy of SameSite Cookies 引用了 Same-Origin Policy: Evaluation in Modern Browsers
- The Great Request Robbery: An Empirical Study of Client-side Request Hijacking Vulnerabilities on the Web 引用了 JAW: Studying Client-side CSRF with Hybrid Property Graphs and Declarative Traversals
- The Great Request Robbery: An Empirical Study of Client-side Request Hijacking Vulnerabilities on the Web 引用了 The State of the SameSite: Studying the Usage, Effectiveness, and Adequacy of SameSite Cookies
- The Great Request Robbery: An Empirical Study of Client-side Request Hijacking Vulnerabilities on the Web 引用了 Same-Origin Policy: Evaluation in Modern Browsers
引用它的顶会 Paper20
- JAW: Studying Client-side CSRF with Hybrid Property Graphs and Declarative TraversalsSoheil Khodayari, Giancarlo PellegrinoUSENIX Security 2021 · 51 次引用
- The State of the SameSite: Studying the Usage, Effectiveness, and Adequacy of SameSite CookiesSoheil Khodayari, Giancarlo PellegrinoS&P 2022 · 28 次引用
- The Great Request Robbery: An Empirical Study of Client-side Request Hijacking Vulnerabilities on the WebSoheil Khodayari, Thomas Barber, Giancarlo PellegrinoS&P 2024 · 12 次引用
- BrowseLite: A Private Data Saving Solution for the WebConor Kelton, Matteo Varvello, Andrius Aucinas, Ben LivshitsWWW 2021 · 11 次引用
- DISTINCT: Identity Theft using In-Browser Communications in Dual-Window Single Sign-OnLouis Jannett, Vladislav Mladenov, Christian Mainka, Jörg SchwenkCCS 2022 · 11 次引用
它引用的 Paper4
- How the Web Tangled Itself: Uncovering the History of Client-Side Web (In)SecurityBen Stock, Martin Johns, Marius Steffens, Michael BackesUSENIX Security 2017 · 67 次引用
- Same-Origin Policy: Evaluation in Modern BrowsersJörg Schwenk, Marcus Niemietz, Christian MainkaUSENIX Security 2017 · 52 次引用
- Who Left Open the Cookie Jar? A Comprehensive Evaluation of Third-Party Cookie PoliciesGertjan Franken, Tom van Goethem, Wouter JoosenUSENIX Security 2018 · 39 次引用
- Leaky Images: Targeted Privacy Attacks in the WebCristian-Alexandru Staicu, Michael PradelUSENIX Security 2019 · 21 次引用
相关 Paper
- Finding All Cross-Site Needles in the DOM Stack: A Comprehensive Methodology for the Automatic XS-Leak Detection in Web BrowsersDominik Trevor Noß, Lukas Knittel, Christian Mainka, Marcus Niemietz 等CCS 2023
- The Leaky Web: Automated Discovery of Cross-Site Information Leaks in Browsers and the WebJannis Rautenstrauch, Giancarlo Pellegrino, Ben StockS&P 2023
- XSinator.com: From a Formal Model to the Automatic Evaluation of Cross-Site Leaks in Web BrowsersLukas Knittel, Christian Mainka, Marcus Niemietz, Dominik Trevor Noß 等CCS 2021 · 11 次引用
- Targeted Deanonymization via the Cache Side Channel: Attacks and DefensesMojtaba Zaheri, Yossi Oren, Reza CurtmolaUSENIX Security 2022
- Can I Take Your Subdomain? Exploring Same-Site Attacks in the Modern WebMarco Squarcina, Mauro Tempesta, Lorenzo Veronese, Stefano Calzavara 等USENIX Security 2021 · 30 次引用
