SSD Advisory – ManageEngine OpManager Unauthenticated Access API Key Access leads to RCE
An unauthenticated servlet in ManageEngine OpManager leaks the administrative API key, which an attacker can use to add an admin user and then execute commands as root via a notification profile test feature.
ssd-disclosure.com
Published on ssd-disclosure.com
ManageEngine OpManager is a central management software written in Java. A vulnerability in ManageEngine OpManager allows a remote attacker to leak the API key of the product (administrative level API key) which we can then use to execute remote commands with root privileges.
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 servlet processes requests without authentication and passes user-controlled parameters to a data synchronisation function that returns the API key for any specified user.
Impact
An unauthenticated attacker could leak the admin API key, add an administrator account, and execute commands with root privileges.
What the attacker needed
Network access to the OpManager instance; No authentication required
The fix
The vendor has released a patch to resolve this vulnerability.
How it was found
- Send a request to the sendData servlet with parameters that request the API key for the admin user.
- Receive the admin API key in the response.
- Use the API key to add a new administrator user.
- Log in with the new administrator user.
- Send a request to the testNProfile endpoint with a command to execute.
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.
The software has a web address that, when visited, hands out a secret password (an API key) without asking for any login. With that secret, an attacker can create their own administrator account and then use a built-in feature to run commands on the server as the highest-privileged user.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.