Skip to content
RCE Advisory Intermediate CVE-2023-38743

ManageEngine ADManager Plus installServiceWithCredentials Command Injection Remote Code Execution Vulnerability

The installServiceWithCredentials function in ManageEngine ADManager Plus fails to validate a user-supplied string before passing it to a system call. An authenticated remote attacker could exploit this to run arbitrary code as the service account.

Nguyen Quoc Viet Follow

Originally disclosed on Zero Day Initiative

High 7.2 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of ManageEngine ADManager Plus. Authentication is required to exploit this vulnerability.

Nguyen Quoc Viet (Petrus Viet) of VNG Security Researcher, on the Zero Day Initiative

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 report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the function passes user-controlled input into a shell command without sanitising or escaping it, allowing command injection.

Impact

An authenticated attacker could execute arbitrary code in the context of the service account, though authentication is required first.

What the attacker needed

Valid authenticated account

The fix

The vendor issued an update to correct the vulnerability, so affected installations should be patched.

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 report has not been written yet. The Original tab links to the source.

When a program builds a command for the operating system out of text a user supplies, it must check that text carefully. Here it did not, so someone who can log in could sneak in extra commands and make the server run them. Those commands run with the permissions of the account the service uses, which is often powerful.

What is RCE?

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

More by Nguyen Quoc Viet

View all

4 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

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.