Insecure Cookies
Summary
Insecure Cookies describes use of insecure authentication-related cookies.
Testing methodology
Description
Insecure Cookies describes a situation in which the application stores important values (usually the user's Session ID) inside the browser's cookie storage, and does not set the recommended cookie security flags to protect it.
Remediations
- Set the HTTPOnly cookie attribute for important cookies
- Set the Secure cookie attribute for important cookies
- Set the SameSite cookie attribute to Strict, or at least Lax for important cookies
Usually follows
Usually precedes
Affected components
- Session
- Sensitive Information