VDB
KO
HIGH

GHSA-69j4-qvqr-hpw3

OpenAM Authenticated RCE via Groovy Sandbox Escape

Details

## Summary

**Description**

A Protection Mechanism Failure (CWE-693) in OpenAM's server-side scripting sandbox allows an authenticated script author execute operating-system commands from the OpenAM JVM with the default class allow and deny lists. This impacts OpenAM Community Edition through version 16.0.6. This issue was patched in version 16.1.1.

## Impact An authenticated user (for example, a realm admin) who can create or edit server-side scripts for an executed context can run OS commands as the OpenAM application server admin. For a sub-realm `RealmAdmin`, this crosses the documented boundary from realm-scoped administration to JVM/host execution, effectively compromising the whole OpenAM process and every realm it serves. The sandbox is the only code-level defense between a realm script author and arbitrary JVM/OS execution.

## Patch This has been patched in OpenAM Community Edition version 16.1.1. Users are encouraged to update to the latest release.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References