cookies-over-http-bad icon indicating copy to clipboard operation
cookies-over-http-bad copied to clipboard

Prevent retrograding secure to plaintext

Open GuillaumeRossolini opened this issue 7 years ago • 0 comments

We had an issue a few years back when setting up tentative HTTPS, in that our login page would be served over HTTPS but the subsequent navigation could go on over plaintext with the same cookie. We locked all links to HTTPS for these sessions, but there was no HSTS back then and nothing prevented the user to click an outdated link (or just going back a few pages), where they expected their session to continue.

This kind of errors could be prevented by the browser refusing to retrograde a cookie to plaintext once it has been updated over HTTPS.

GuillaumeRossolini avatar Aug 14 '18 19:08 GuillaumeRossolini