'=' prepended to set-cookie header can result in __Secure- and __Host- prefix bypasses
- Fixed in 52 days
- Paid in 2 months
- Disclosed after 52 days
1. Go to http://httpbin.org
2. Execute document.cookie = "= __Host-test=a" in the console
3. Go to http://httpbin.org/headers and see Cookie with cookie: 'Cookie "__Host-test=a"'. This shouldn't happen as __Secure- and __Host- should only be set from a secure context
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A medium-severity security bug in Networking: Cookies. Mozilla made it public on 8 September 2022 as CVE-2022-40958.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.