Bug ID 755628: Deleted APM cookies missing 'secure' and 'HttpOnly' flags

Last Modified: Sep 14, 2023

Affected Product(s):
BIG-IP APM(all modules)

Known Affected Versions:
14.1.0, 14.1.0.1, 14.1.0.2, 14.1.0.3, 14.1.0.5, 14.1.0.6, 14.1.2, 14.1.2.1, 14.1.2.2, 14.1.2.3, 14.1.2.4, 14.1.2.5, 14.1.2.6, 14.1.2.7, 14.1.2.8, 14.1.3, 14.1.3.1, 14.1.4, 14.1.4.1, 14.1.4.2, 14.1.4.3, 14.1.4.4, 14.1.4.5, 14.1.4.6, 14.1.5, 14.1.5.1, 14.1.5.2, 14.1.5.3, 14.1.5.4, 14.1.5.6

Fixed In:
15.0.0

Opened: Jan 16, 2019

Severity: 2-Critical

Symptoms

Returned deleted cookies are missing 'secure' and/or 'HttpOnly' flags.

Impact

Some vulnerability scanners may detect that as security issue.

Conditions

When APM cookies with 'secure' and 'HttpOnly' flags are deleted, those flags are missing in response Set-Cookie: headers.

Workaround

iRule like the next: when HTTP_RESPONSE_RELEASE { foreach mycookie [HTTP::cookie names] { HTTP::cookie secure $mycookie enable HTTP::cookie httponly $mycookie enable } }

Fix Information

Preserved the flags 'secure' and 'HttpOnly' for deleted APM cookies

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips