GHSA-fpmh-vx4h-xc33: XSS
Summary
Description An Insecure Default Initialization of Resource (CWE-1188) issue in the OpenAM default configuration ships the iPlanetDirectoryPro SSO cookie with HttpOnly=false. Also, the iPlanetDirectoryPro SSO cookie is used as a CSRF token in OAuth/OIDC flows. This affects OpenAM Community Edition through version 16.0.6 and was patched in version 16.1.1.
Impact A single click on an attacker link may yield full SSO session theft of any authenticated console user when chained with any other same-origin XSS in the OpenAM origin. The missing SameSite default also widens the CSRF surface. Also, because the consent flow reuses the SSO cookie as its CSRF token, any XSS in the OpenAM origin both steals the session and completes attacker-driven OAuth consent grants in one step.
Patch This has been patched in OpenAM Community Edition version 16.1.1. Users are encouraged to update to the latest release.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/org.openidentityplatform.openam:openam-coreto a version that resolves this vulnerability.Fixed in 16.1.1 - Upgrade
Upgrade
OpenAM Community Editionto a version that resolves this vulnerability.Fixed in 16.1.1 - Compensating control
Update OpenAM Community Edition to 16.1.1 (issue affects versions through 16.0.6) to mitigate SSO session theft and OAuth/OIDC CSRF risks created by default OpenAM configuration where the iPlanetDirectoryPro SSO cookie is shipped with HttpOnly=false and is missing a default SameSite attribute.
Event History
Frequently Asked Questions
What is the severity of GHSA-fpmh-vx4h-xc33?
The severity of GHSA-fpmh-vx4h-xc33 is rated at 55.
What vulnerability does GHSA-fpmh-vx4h-xc33 describe?
GHSA-fpmh-vx4h-xc33 describes an Insecure Default Initialization of Resource vulnerability in OpenAM due to the `iPlanetDirectoryPro` SSO cookie being set with `HttpOnly=false`.
How does GHSA-fpmh-vx4h-xc33 affect users?
GHSA-fpmh-vx4h-xc33 affects users by allowing potential Cross-Site Request Forgery (CSRF) attacks due to the insecure handling of the SSO cookie.
How do I fix GHSA-fpmh-vx4h-xc33?
To fix GHSA-fpmh-vx4h-xc33, configure the OpenAM server to set the `iPlanetDirectoryPro` SSO cookie with `HttpOnly=true` in a secure manner.
What are some security risks associated with GHSA-fpmh-vx4h-xc33?
GHSA-fpmh-vx4h-xc33 poses security risks including exposure to XSS and CSRF attacks due to improper settings in the OpenAM default configuration.