Skip to content
Ulrich Berntien edited this page Sep 8, 2020 · 2 revisions

TWA-0802

Message

cookie '${cookie_name}' has no 'secure' flag

In the message output the variable ${cookie_name} is replaced by the name of the cookie.

Explanation

A cookie was found in the HTTP response that is not marked as 'secure'.

The web browser will not send cookies with the 'secure' flag in clear text. The web browser will send the 'secure' marked cookies only through a HTTPS connection. So the content of the cookie is protected against sniffing TCP network traffic.

Remediation

Set the secure flag on the cookie in your web application.

See

Clone this wiki locally