Skip to content
RCE Write-up Advanced

A Different Payload for CVE202247966

The text describes CVE-2022-47966, an unauthenticated remote code execution vulnerability in Zoho ManageEngine products, where public exploits all use the same XSLT transform ending in getRuntime().exec(). It shows that an attacker can instead use a Nashorn JavaScript engine transform to execute arbitrary Java code in memory, bypassing most open-source detections that look for getRuntime and exec.

vulncheck.com

Published on vulncheck.com

One of the many things we do at VulnCheck is track public exploits. We’ve found very few security professionals develop their own original exploits.

The author, on vulncheck.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

Root cause

Likely the SAML response signature validation is flawed, allowing an attacker to inject a malicious XSLT transform that is processed by the server, leading to arbitrary Java code execution.

Impact

An attacker could execute arbitrary Java code in memory on the victim host, bypassing most open-source detections that look for getRuntime and exec, though Velociraptor's log-based detection may still catch exploitation.

What the attacker needed

Unauthenticated network access

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.

This is about a security flaw in some Zoho ManageEngine software that lets an attacker run commands on the server without logging in. The article explains that most public attack tools use one specific method, and the defences are built to catch that method. It then shows a different method that stays in memory and avoids those defences.

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.