Towards Browser Controls to Protect Cookies from Malicious Extensions
Liam Tyler, Ivan De Oliveira Nunes

TL;DR
This paper introduces CREAM, a browser modification that adds new cookie attributes to prevent malicious extensions from stealing or tampering with cookies, thereby enhancing user security with minimal performance impact.
Contribution
It proposes and implements new cookie attributes, BrowserOnly and Monitored, to restrict extension access and monitor cookie modifications, addressing a significant security vulnerability.
Findings
CREAM effectively blocks malicious extension access to cookies.
The new attributes incur minimal runtime overhead.
Extensions with risky APIs have hundreds of millions of users.
Abstract
Cookies maintain state across related web traffic. As such, cookies are commonly used for authentication by storing a user's session ID and replacing the need to re-enter credentials in subsequent traffic. These so-called ``session cookies'' are prime targets for attacks that aim to steal them to gain unauthorized access to user accounts. To mitigate these attacks, the Secure and HttpOnly cookie attributes limit a cookie's accessibility from malicious networks and websites. However, these controls overlook browser extensions: third-party HTML/JavaScript add-ons with access to privileged browser APIs and the ability to operate across multiple websites. Thus malicious or compromised extensions can provide unrestricted access to a user's session cookies. In this work, we first analyze the prevalence of extensions with access to ``risky'' APIs (those that enable cookie modification and…
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
TopicsAdvanced Malware Detection Techniques · Security and Verification in Computing · Web Application Security Vulnerabilities
