Skip to content
RCE Advisory Intermediate

(0Day) Quest KACE Systems Management run_report Command Injection Remote Code Execution Vulnerability

The run_report page of Quest KACE Systems Management failed to validate user-supplied ID and FMT parameters before passing them to a system call. An authenticated attacker could use this to run arbitrary commands as root on the appliance.

Kapil Khot Follow

Originally disclosed on Zero Day Initiative

Critical 9.0 View original

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Quest KACE Systems Management. Authentication is required to exploit this vulnerability.

Kapil Khot (SlidingWindow), 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 application built a shell command from the ID and FMT request parameters without sanitising or escaping them, so injected shell syntax was executed.

Impact

An authenticated attacker could execute arbitrary code as root on the appliance; the advisory notes the only mitigation is restricting access to trusted machines.

What the attacker needed

Authenticated access to the appliance; network reachability to the service

The fix

Quest issued an update and a hotfix for version 9.0.270, and the parameters should be validated and escaped before any system call.

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.

This is a command injection bug. The web page takes input from the user and hands it to the operating system to run as a command, without checking it first. Someone who can log in can sneak their own commands in, and those commands run with the highest level of permission on the machine.

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 Kapil Khot

View all

1 more disclosed report, 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.