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 the response safe only when its Cache-Control directives include 'no-store'; 'no-cache' or 'private' alone do not prevent the report
• 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 Essential plan. If you prefer the Advanced plan, which includes the expertise of Fluid Attacks' pentesting team, fill out this contact form.