One-time cookies
Authors:
Open Access
- 1 June 2012
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Internet Technology
- Vol. 12 (1) , 1-24
Abstract
HTTP cookies are the de facto mechanism for session authentication in Web applications. However, their inherent security weaknesses allow attacks against the integrity of Web sessions. HTTPS is often recommended to protect cookies, but deploying full HTTPS support can be challenging due to performance and financial concerns, especially for highly distributed applications. Moreover, cookies can be exposed in a variety of ways even when HTTPS is enabled. In this article, we propose one-time cookies (OTC), a more robust alternative for session authentication. OTC prevents attacks such as session hijacking by signing each user request with a session secret securely stored in the browser. Unlike other proposed solutions, OTC does not require expensive state synchronization in the Web application, making it easily deployable in highly distributed systems. We implemented OTC as a plug-in for the popular WordPress platform and as an extension for Firefox and Firefox for mobile browsers. Our extensive experimental analysis shows that OTC introduces a latency of less than 6 ms when compared to cookies—a negligible overhead for most Web applications. Moreover, we show that OTC can be combined with HTTPS to effectively add another layer of security to Web applications. In so doing, we demonstrate that one-time cookies can significantly improve the security of Web applications with minimal impact on performance and scalability.Keywords
Funding Information
- Division of Computer and Network Systems (CNS-0916047)
This publication has 18 references indexed in Scilit:
- Splitting the HTTPS Stream to Attack Secure Web ConnectionsIEEE Security & Privacy, 2010
- Forcehttps2008
- Beamauth2007
- Performance analysis of TLS Web serversACM Transactions on Computer Systems, 2006
- The Kerberos Network Authentication Service (V5)2005
- A Lightweight Approach to Authenticated Web Caching2005
- HTTP State Management Mechanism2000
- Secure cookies on the WebIEEE Internet Computing, 2000
- httperf—a tool for measuring web server performanceACM SIGMETRICS Performance Evaluation Review, 1998
- On the security of public key protocolsIEEE Transactions on Information Theory, 1983