Skip to content
Access control Advisory Intermediate CVE-2019-5136

Moxa AWK-3131A iw_console Privilege Escalation Vulnerability

The iw_console restricted shell on the Moxa AWK-3131A contains a hardcoded backdoor string that, when entered at the main menu, drops the user into a root shell. An attacker with low-privilege credentials could use this to gain full system access.

Jared Rittle Follow

Originally disclosed on Cisco Talos

High 8.8 View original

An exploitable privilege escalation vulnerability exists in the iwconsole functionality of the Moxa AWK-3131A firmware version 1.13. A specially crafted menu selection string can cause an escape from the restricted console, resulting in system access as the root user.

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

Likely a hardcoded backdoor string was added to the menu input handling, which when matched causes the program to spawn a root shell.

Impact

An attacker with low-privilege credentials could gain root access to the device, leading to full compromise.

What the attacker needed

Valid low-privilege credentials; access to Telnet or SSH service

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.

A restricted shell is a limited command interface meant to stop users from accessing the full system. Here, the device's menu had a secret password that, when typed, gave full administrator (root) access. Anyone who knew this password and had a normal login could take complete control of the device.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Jared Rittle

View all

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

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.