CVE-2023-37471 User impersonation using SAMLv1.x SSO in Open Access Management

Critical 9.1 Published Updated

Attackers can impersonate any user, including administrators, by sending crafted SAML responses due to improper signature validation in OpenAM.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-37471?

CVE-2023-37471 is a critical authentication bypass vulnerability in OpenIdentityPlatform OpenAM, published on 20 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Open Access Management (OpenAM) is an access management solution that includes Authentication, SSO, Authorization, Federation, Entitlements and Web Services Security. OpenAM up to version 14.7.2 does not properly validate the signature of SAML responses received as part of the SAMLv1.x Single Sign-On process. Attackers can use this fact to impersonate any OpenAM user, including the administrator, by sending a specially crafted SAML response to the SAMLPOSTProfileServlet servlet. This problem has been patched in OpenAM 14.7.3-SNAPSHOT and later. User unable to upgrade should comment servlet `SAMLPOSTProfileServlet` from their pom file. See the linked GHSA for details.

Weakness: CWE-287

Which versions are affected by CVE-2023-37471?

2 open source packages ship an affected version, including org.openidentityplatform.openam:openam-federation-library. It affects 1 product.

PackageAffectedFixed in
org.openidentityplatform.openam:openam-federation-library MavenAll versions14.7.3
org.openidentityplatform.openam:openam-federation-library MavenAll versions14.7.3

Products include Openidentityplatform Openam.

How do I fix CVE-2023-37471?

Upgrade org.openidentityplatform.openam:openam-federation-library to 14.7.3 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2023-37471 being exploited?

There is no known exploitation of CVE-2023-37471 in the wild and no public exploit code.

Sources

Also known as GHSA-4mh8-9wq6-rjxg.

Is CVE-2023-37471 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free