Overview
RFC 6265 (previously RFC 2965) established HTTP State Management, also known as "cookies". In most web browser implementations of RFC 6265, cookies set via HTTP requests may allow a remote attacker to bypass HTTPS and reveal private session information.
Description
HTTP cookies have long been known to lead to potential security issues when managing HTTP state. For example, in RFC 6265, Section 8.6: Cookies do not provide integrity guarantees for sibling domains (and their subdomains). For example, consider foo.example.com and bar.example.com. The foo.example.com server can set a cookie with a Domain attribute of "example.com" (possibly overwriting an existing "example.com" cookie set by bar.example.com), and the user agent will include that cookie in HTTP requests to bar.example.com. In the worst case, bar.example.com will be unable to distinguish this cookie from a cookie it set itself. The foo.example.com server might be able to leverage this ability to mount an attack against bar.example.com. |
Impact
A remote attacker may be able to obtain private information from a victim's HTTPS session. |
Solution
A complete solution may include future updates to RFC 6265 and/or RFC 6454 to enable safer handling of cookies via an updated same origin policy for cookies. |
Deploy HSTS on top-level domain |
Vendor Information
CVSS Metrics
Group | Score | Vector |
---|---|---|
Base | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Temporal | 5.8 | E:POC/RL:W/RC:C |
Environmental | 5.8 | CDP:ND/TD:H/CR:ND/IR:ND/AR:ND |
References
- https://www.usenix.org/conference/usenixsecurity15/technical-sessions/presentation/zheng
- https://tools.ietf.org/html/rfc6265
- https://tools.ietf.org/html/rfc6454
- https://tools.ietf.org/html/rfc6797
- https://datatracker.ietf.org/wg/httpstate/charter/
- http://support.apple.com/kb/HT201222
- http://blogs.windows.com/msedgedev/2015/06/09/http-strict-transport-security-comes-to-internet-explorer-11-on-windows-8-1-and-windows-7/
Acknowledgements
Thanks to Jian Jiang, Nicholas Weaver, et. al., for disclosing this vulnerability at USENIX Security 2015.
This document was written by Garret Wassermann.
Other Information
CVE IDs: | None |
Date Public: | 2015-08-13 |
Date First Published: | 2015-09-24 |
Date Last Updated: | 2015-10-28 18:47 UTC |
Document Revision: | 88 |