Open elarlang opened 4 days ago
Proposal update based on https://github.com/OWASP/ASVS/issues/2422#issuecomment-2507489508 + https://github.com/OWASP/ASVS/issues/2422#issuecomment-2507546095
Verify that cookie-based session tokens have the 'Secure' attribute set, and if the 'Host-' prefix is not used for the cookie name, the 'Secure-' prefix must be used for the cookie name.
The reasons:
Secure
gives that browser is not allowed to send the cookie over http:
connection__Secure-
gives that it is not possible to write a cookie with the same name without a Secure
flag (including over http:
connection)
As the requirement is now a general cookie security requirement, the wording must be non-session-cookie specific.
Proposal:
Level: keep level 1