Details
Alert Id 10011
Alert Type Passive Scan Rule
Status release
Risk Low
CWE 614
WASC 13

Summary

A cookie has been set without the secure flag, which means that the cookie can be accessed via unencrypted connections.

Solution

Whenever a cookie contains sensitive information or is a session token, then it should always be passed using an encrypted channel. Ensure that the secure flag is set for cookies containing such sensitive information.

References

Code

org/zaproxy/zap/extension/pscanrules/CookieSecureFlagScanRule.java