VDB
Sign up
CRITICAL9.6

GHSA-29wv-cv7p-xjc2

GlassFish's gadget handler is vulnerable to RCE

Quick fix

GHSA-29wv-cv7p-xjc2 — org.glassfish.main.admingui:admingui: upgrade to the fixed version with the command below.

# pom.xml: bump <version>8.0.2</version> for org.glassfish.main.admingui:admingui

Details

A critical Remote Code Execution (RCE) vulnerability was identified in the server-side template rendering mechanism used by the Glassfish gadget handler. The application processes .xml files and evaluates user-supplied values within a context where Expression Language (EL) “expressions” are processed without proper sanitization or escaping. By injecting expressions such as #{7*7}, the server returns 49, confirming server-side EL evaluation. This issue allows a remote attacker to fully compromise the underlying host, enabling capabilities as reading/modifying data, executing arbitrary commands, persistence, and lateral movement.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.glassfish.main.admingui:admingui
Introduced in: 0Fixed in: 8.0.2
Fix# pom.xml: bump <version>8.0.2</version> for org.glassfish.main.admingui:admingui
Maven/org.glassfish.jsftemplating:jsftemplating
Introduced in: 0Fixed in: 4.2.0
Fix# pom.xml: bump <version>4.2.0</version> for org.glassfish.jsftemplating:jsftemplating

References