Http Cookie Missing Cache Control
Description
This detector identifies when sensitive cookies are set without proper cache control directives. When sensitive cookies lack cache control protection, they may be stored in browser caches or intermediate proxies, potentially exposing sensitive session data to unauthorized access.
Detection Strategy
• A vulnerability is reported when the HTTP response contains Set-Cookie headers for sensitive cookies (like session cookies, authentication tokens) AND the response lacks proper Cache-Control directives
• The detector considers Cache-Control directives safe when they include values like 'no-cache', 'no-store', or 'private' that prevent caching of sensitive data
• Each sensitive cookie without adequate cache protection generates a separate vulnerability report identifying the specific cookie name and its raw header content
Search for vulnerabilities in your apps for free with Fluid Attacks' automated security testing! Start your 21-day free trial and discover the benefits of the Continuous Hacking Essential plan. If you prefer the Advanced plan, which includes the expertise of Fluid Attacks' hacking team, fill out this contact form.