Skip to content
RCE Advisory Intermediate CVE-2017-14432CVE-2017-14434

Moxa EDR-810 Web Server OpenVPN Config Multiple Command Injection Vulnerabilities

The web server of the Moxa EDR-810 device passes several OpenVPN configuration POST parameters into OS commands without sanitisation. An authenticated attacker could inject commands that run as root, leading to a root shell.

Carlos Pacho Follow

Originally disclosed on Cisco Talos

High 8.8 View original

An exploitable command injection vulnerability exists in the web server functionality of Moxa EDR-810 V4.1 build 17030317. A specially crafted HTTP POST can cause a privilege escalation resulting in root shell.

Carlos Pacho, on Cisco Talos

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

The web server builds OS commands from user-supplied POST parameters without neutralising special characters, so injected commands are executed.

Impact

An authenticated user could run arbitrary commands as root on the device, resulting in a root shell.

What the attacker needed

Valid login to the web interface

The fix

The vendor patched the issue and published new firmware.

How it was found

  1. Log in to the device's web interface.
  2. Send a POST request to the OpenVPN settings URI with crafted values in the vulnerable parameters.
  3. The injected commands execute on the device as root.

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 device has a web page for setting up a VPN. When you save settings, the web server builds a system command from what you typed. Because it does not clean the input, someone who is logged in can add extra system commands that the device then runs with the highest privileges.

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 Carlos Pacho

View all

11 more disclosed reports, best first.

More from Cisco Talos

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.