Skip to content
RCE Write-up Advanced

CVE-2025-4427/4428 : Ivanti EPMM Remote Code Execution - Technical Analysis

Ivanti EPMM's bean validation ran before Spring Security's authorization check, allowing unauthenticated users to inject Expression Language into error messages via the 'format' parameter, leading to remote code execution.

httpvoid.com

Published on httpvoid.com

Note - This is cross post from our work at Projectdiscovery Blog

The author, on httpvoid.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An unauthenticated attacker could execute arbitrary code on the server, as demonstrated by a simple expression evaluation and a Nuclei template that triggers a DNS callback.

What the attacker needed

None

The fix

The vulnerability was fixed by removing user input from the error message templates in the validators, and users should update to the fixed versions listed in the advisory.

How it was found

  1. Send a request to the feature usage endpoint with an invalid 'format' parameter value.
  2. Observe that the error message reflects the evaluated expression, confirming EL injection.
  3. Repeat the request without authentication cookies or token to confirm it works unauthenticated.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

When a web request arrives, the framework first checks the input for errors (validation) and only later checks if the user is allowed to access the resource (authorization). Here, the validation step used the user's input to build an error message, and that message was processed as code. Because validation happened before the login check, an attacker could run code without logging in.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.