VDB
KO
CRITICAL 9.8

GHSA-wg5r-wc3x-39vc

OpenAM: Unauthenticated Remote Code Execution via Class.forName in AuthXMLUtils.createCustomCallback

Quick fix

GHSA-wg5r-wc3x-39vc — org.openidentityplatform.openam:openam-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>16.1.2</version> for org.openidentityplatform.openam:openam-core

Details

## Summary A pre-authentication remote code execution vulnerability affects OpenAM. The remote authentication endpoint (`/authservice`, PLL) accepts an XML element that names an arbitrary Java class, which the server then loads and instantiates without validation. On a default configuration this is reachable **without authentication** and allows an attacker to run code on the server.

## Impact Unauthenticated remote code execution / full server compromise on any OpenAM instance with default settings.

## Affected All releases up to and including 16.1.1 (the defect predates the Open Identity Platform fork).

## Remediation Upgrade to `16.1.2`.

## Interim mitigation - Require the remote-auth security token by enabling `sunRemoteAuthSecurityEnabled` (rejects unauthenticated `/authservice` calls). - Restrict or block external network access to `/authservice` until patched.

## Credit Vulnerability discovered by Zhixi "Jace" Sun of ASM/VI at TikTok.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven / org.openidentityplatform.openam:openam-core
Introduced in: 0 Fixed in: 16.1.2
Fix # pom.xml: bump <version>16.1.2</version> for org.openidentityplatform.openam:openam-core

References