OpenAM (OpenAM Consortium Edition) 14.0.5 and earlier contains an open redirect vulnerability (CWE-601) in the Liberty ID-FF service provider single sign-on flow. The goto parameter of the /preLogin endpoint is stored as the RelayState of the Liberty ID-FF authentication request without validation, and after the user completes single sign-on at the identity provider, the assertion consumer service redirects the browser to that value. A remote unauthenticated attacker can induce a user to access a crafted URL and, after the user authenticates, redirect the user to an arbitrary website, which may be used for phishing. Only deployments in which a Liberty ID-FF hosted service provider is configured are affected; Liberty ID-FF is not configured by default. This issue is fixed in 14.0.6, which disables the legacy Liberty ID-FF endpoints.
If Liberty ID-FF is not used, remove the Liberty ID-FF servlet mappings (including /preLogin, /IntersiteTransferService and /AssertionConsumerService/*) from WEB-INF/web.xml, or block access to these endpoints at a reverse proxy or web application firewall.
Upgrade to OpenAM (OpenAM Consortium Edition) 14.0.6 or later. Note that 14.0.6 disables the legacy Liberty ID-FF endpoints.