Skip to content
RCE Advisory Intermediate CVE-2019-5141

Moxa AWK-3131A iw_webs iw_serverip Parameter Command Injection Vulnerability

The iw_serverip parameter in the Moxa AWK-3131A web interface is not properly escaped before being used in a system command, allowing an authenticated low-privilege attacker to inject arbitrary commands and gain remote control over the device.

Carl Hurd Follow

Originally disclosed on Cisco Talos

High 8.8 View original

An exploitable command injection vulnerability exists in the iwwebs functionality of the Moxa AWK-3131A firmware version 1.13. A specially crafted iwserverip parameter can cause user input to be reflected in a subsequent iwsystem call, resulting in remote control over the device.

Carl Hurd and Jared Rittle, 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

Impact

An authenticated low-privilege attacker could execute arbitrary commands on the device, leading to full remote control.

What the attacker needed

Authenticated as a low privilege user

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 device takes an IP address you type in a web form and puts it directly into a system command without cleaning it. An attacker with a low-privilege account can add extra commands to that field, and the device will run them, giving the attacker control.

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 Carl Hurd

View all

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