Steven J. Murdoch

 Research 2008

Hardened Stateless Session Cookies

Kind
Paper
Authors
Steven J. Murdoch
Published in
Sixteenth International Workshop on Security Protocols, Cambridge, UK, 16–18 April 2008
Files
Cite as

Steven J. Murdoch. 2008. Hardened Stateless Session Cookies. In Sixteenth International Workshop on Security Protocols, Cambridge, UK, 16–18 April 2008. https://doi.org/10.1007/978-3-642-22137-8_13

BibTeX

@inproceedings{protocols08cookies,
  author    = {Steven J. Murdoch},
  title     = {{Hardened Stateless Session Cookies}},
  booktitle = {Sixteenth International Workshop on Security Protocols},
  address   = {Cambridge, UK},
  year      = {2008},
  doi       = {10.1007/978-3-642-22137-8_13}
}

Abstract§

Stateless session cookies allow web applications to alter their behaviour based on user preferences and access rights, without maintaining server-side state for each session. This is desirable because it reduces the impact of denial of service attacks and eases database replication issues in load-balanced environments. The security of existing session cookie proposals depends on the server protecting the secrecy of a symmetric MAC key, which for engineering reasons is usually stored in a database, and thus at risk of accidental leakage or disclosure via application vulnerabilities. In this paper we show that by including a salted iterated hash of the user password in the database, and its pre-image in a session cookie, an attacker with read access to the server is unable to spoof an authenticated session. Even with knowledge of the server’s MAC key the attacker needs a user’s password, which is not stored on the server, to create a valid cookie. By extending an existing session cookie scheme, we maintain all the previous security guarantees, but also preserve security under partial compromise.