Web Application Cookies Are Expired

Info Nessus Plugin ID 100669

Synopsis

HTTP cookies have an 'Expires' attribute that is set with a past date or time.

Description

The remote web application sets various cookies throughout a user's unauthenticated and authenticated session. However, Nessus has detected that one or more of the cookies have an 'Expires' attribute that is set with a past date or time, meaning that these cookies will be removed by the browser.

Solution

Each cookie should be carefully reviewed to determine if it contains sensitive data or is relied upon for a security decision.

If needed, set an expiration date in the future so the cookie will persist or remove the Expires cookie attribute altogether to convert the cookie to a session cookie.

See Also

https://tools.ietf.org/html/rfc6265

Plugin Details

Severity: Info

ID: 100669

File Name: http_generic_expired_cookies.nasl

Version: Revision: 1.1

Type: remote

Family: Web Servers

Published: 2017/06/07

Updated: 2017/06/07

Dependencies: 67257

Risk Information

Risk Factor: Info