Bug ID 707643: ASM Single page application causes JavaScript error when cross domain request is sent

Last Modified: Sep 14, 2023

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

Known Affected Versions:
14.0.0, 14.0.0.1, 14.0.0.2, 14.0.0.3, 14.0.0.4, 14.0.0.5, 14.0.1, 14.0.1.1, 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: Feb 22, 2018

Severity: 3-Major

Symptoms

JavaScript error is reported to the browser developer's console: 'Refused to get unsafe header X-Security-Action', 'Refused to get unsafe header 'X-Security-Token'

Impact

Cross domain requests might be not handled properly.

Conditions

-- ASM provisioned. -- Bot defense/DoS Application/ASM policy attached to a virtual server. -- Single page application enabled.

Workaround

Disable single page application using one of the following workarounds: -- Go to the bot defense profile in the GUI and disable single page application. -- Run the following tmsh command: tmsh modify security bot-defense profile all { single-page-application disabled } -- Go to DoS application profile in the GUI and disable single page application. -- Run the following tmsh command: tmsh modify security dos profile all { application modify { all { single-page-application disabled } } } -- To disable single page application for an ASM policy, run the following shell command: /usr/share/ts/bin/add_del_internal del single_page_application

Fix Information

Single page application now handles cross domain requests for configured domains only.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips