Bug ID 738397: SAML -IdP-initiated case that has a per-request policy with a logon page in a subroutine fails.

Last Modified: Sep 13, 2023

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

Known Affected Versions:
12.1.3, 12.1.3.1, 12.1.3.2, 12.1.3.3, 12.1.3.4, 12.1.3.5, 12.1.3.6, 13.0.0, 13.0.0 HF1, 13.0.0 HF2, 13.0.0 HF3, 13.0.1, 13.1.0, 13.1.0.1, 13.1.0.2, 13.1.0.3, 13.1.0.4, 13.1.0.5, 13.1.0.6, 13.1.0.7, 13.1.0.8, 13.1.1, 14.0.0, 14.0.0.1, 14.0.0.2, 14.0.0.3, 14.0.0.4

Fixed In:
14.1.0, 14.0.0.5, 13.1.1.2, 12.1.3.7

Opened: Jul 26, 2018

Severity: 3-Major

Symptoms

For a BIG-IP system configured as IdP, in the SAML-IdP-initiated case: If the IdP has a Per-Request policy (in addition to a V1 policy), such that the Per-Request policy has a subroutine or a subroutine macro with a logon page, the system reports access failure on running the policy. The error logged is similar to the following: '/Common/sso_access:Common:218f759e: Authorization failure: Denied request for SAML resource /Common/saml_resource_obj1&state=000fffff032db022'.

Impact

Access is denied. The request URI has '&state=<per-flow-id>' appended to the SAML Resource name.

Conditions

-- BIG-IP system configured as IdP. -- SAML IdP initiated case in which the following is true: + The IdP has a Per-Request policy (in addition to a V1 policy). + That Per-Request policy has a subroutine or a subroutine macro with a logon page.

Workaround

None.

Fix Information

The system now checks for additional query parameters in the request_uri while extracting Resource name so it is not incorrectly set to 'ResourceName&state=<per-flow-id>' which causes the access failure.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips