Bug ID 866685: Empty HSTS headers when HSTS mode for HTTP profile is disabled

Last Modified: May 29, 2024

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

Known Affected Versions:
13.1.0,,,,,,,,, 13.1.1,,,,, 13.1.3,,,,,,, 13.1.4,, 13.1.5,, 14.0.0,,,,,, 14.0.1,, 14.1.0,,,,,, 14.1.2,,,,, 15.0.0, 15.0.1,,, 15.1.0,

Fixed In:

Opened: Jan 06, 2020

Severity: 3-Major


HTTP Strict-Transport-Security (HSTS) headers have an empty value for some APM Access Policy-generated responses.


Some audit scanners can consider the empty value of Strict-Transport-Security headers as a vulnerability. For browsers, the empty HSTS value equals no HSTS in response.


This occurs when the following conditions are met: -- HTTP profile is configured with HSTS mode=disabled (which it is by default). -- HTTP requests for APM renderer content, including CSS, JS, and image files from the webtop.


1. Enable HSTS mode for the HTTP profile. 2. Use an iRule to remove the empty HSTS header from responses: when HTTP_RESPONSE_RELEASE { if { [HTTP::header value "Strict-Transport-Security"] eq "" } { HTTP::header remove "Strict-Transport-Security" } }

Fix Information

When the HTTP profile is configured with HSTS mode=disabled, responses from APM renderer content are now sent without an HSTS header.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips