Verify that cookie-based session tokens have the 'Secure' attribute set. (C6)
Level 1 required: True
Level 2 required: True
Level 3 required: True
CWE: 614
Verify that cookie-based session tokens have the 'HttpOnly' attribute set. (C6)
Level 1 required: True
Level 2 required: True
Level 3 required: True
CWE: 1004
Verify that cookie-based session tokens utilize the 'SameSite' attribute to limit exposure to cross-site request forgery attacks. (C6)
Level 1 required: True
Level 2 required: True
Level 3 required: True
CWE: 1275
Verify that cookie-based session tokens use the "__Host-" prefix so cookies are only sent to the host that initially set the cookie.
Level 1 required: True
Level 2 required: True
Level 3 required: True
CWE: 16
Verify that if the application is published under a domain name with other applications that set or use session cookies that might disclose the session cookies, set the path attribute in cookie-based session tokens using the most precise path possible. (C6)
Level 1 required: True
Level 2 required: True
Level 3 required: True
CWE: 16
Credit via OWASP ASVS. For more information visit The OWASP ASVS Project or Github respository.. OWASP ASVS is under the Creative Commons Attribution-Share Alike v3.0 license.
Loading comments 0%