Skip to content
RCE Advisory Advanced CVE-2020-10603

Advantech WebAccess/NMS DatabaseMgmtResource OS Command Injection Remote Code Execution Vulnerability

The ManualDBBackup endpoint of Advantech WebAccess/NMS passes a user-supplied filename parameter into a system call without validating it. An attacker who can reach that endpoint could run arbitrary commands as SYSTEM, though authentication is required and the existing authentication mechanism can be bypassed.

rgod Follow

Originally disclosed on Zero Day Initiative

High 8.8 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Advantech WebAccess/NMS. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.

rgod of 9sg, 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 filename parameter is concatenated into a shell command without validation or escaping, so shell metacharacters in the input are executed.

Impact

An attacker could execute arbitrary code with SYSTEM privileges, although authentication is required and the existing authentication mechanism can be bypassed.

What the attacker needed

Network access to the endpoint; authentication, which can be bypassed

The fix

The vendor issued an update to correct the vulnerability.

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 software takes a file name typed in by a user and hands it to the operating system to run as a command. Because it never checks what the user typed, someone can slip in extra commands that the computer then runs with high privileges. The result is that an outsider could take full control of 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 rgod

View all

87 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.