Accept All Exploits: Exploring the Security Impact of Cookie Banners
Open Access
- 5 December 2022
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 911-922
Abstract
The General Data Protection Regulation (GDPR) and related regulations have had a profound impact on most aspects related to privacy on the Internet. By requiring the user’s consent for e.g., tracking, an affirmative action has to take place before such data collection is lawful, leading to spread of so-called cookie banners across the Web. While the privacy impact and how well companies adhere to those regulations have been studied in detail, an open question is what effect these banners have on the security of netizens. In this work, we systematically investigate the security impact of consenting to a cookie banner. For this, we design an approach to automatically give maximum consent to these banners, enabling us to conduct a large-scale crawl. Thereby, we find that a user who consents to tracking executes 45% more third-party scripts and is exposed to 63% more security sensitive data flows on average. This significantly increased attack surface is not a mere theoretical danger, as our examination of Client-Side Cross-Site Scripting (XSS) vulnerabilities shows: By consenting, the number of websites vulnerable to our verified XSS exploits increases by 55%. In other words, more than one third of all affected websites are only vulnerable to XSS due to code that requires user consent. This means that users who consent to cookies are browsing a much more insecure and dangerous version of the Web. Beyond this immediate impact, our results also raise the question about the actual state of client-side web security as a whole. As few studies state the vantage point of their measurements, and even fewer take cookie notices into account, they most likely underreport the prevalence of vulnerabilities on the Web at large.Keywords
Funding Information
- European Union?s Horizon 2020 (101019206)
- DFG (EXC 2092 CASA - 390781972)
This publication has 28 references indexed in Scilit:
- Riding out DOMsday: Towards Detecting and Preventing DOM Cross-Site Scripting2018
- Most Websites Don't Need to Vibrate2017
- Thou Shalt Not Depend on Me: Analysing the Use of Outdated JavaScript Libraries on the Web2017
- From Facepalm to Brain Bender2015
- 25 million flows later2013
- JSand2012
- You are what you include2012
- WebJail2011
- ConScript: Specifying and Enforcing Fine-Grained Security Policies for JavaScript in the Browser2010
- Defeating script injection attacks with browser-enforced embedded policies2007