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

Moxa AWK-3131A iw_webs Account Settings Improper Access Control Vulnerability

The web-based account management interface allowed a low-privilege user to create a new account with the same name as an existing system account, overwriting its password. By targeting the 'news' account, an attacker could log in via Telnet and then use su with another newly created account to obtain root access.

Jared Rittle Follow

Originally disclosed on Cisco Talos

Critical 9.9 View original

An exploitable improper access control vulnerability exists in the iwwebs account settings functionality of the Moxa AWK-3131A firmware version 1.13. A specially crafted user name entry can cause the overwrite of an existing user account password, resulting in remote shell access to the device as that user.

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

Root cause

Likely the account creation function did not check whether the chosen username already existed, allowing an existing account's password to be overwritten.

Impact

An attacker with low-privilege web access could overwrite an existing account's password and gain remote shell access, then escalate to root.

What the attacker needed

Authenticated as a low-privilege user; web access to the device

How it was found

  1. Navigate to 'Main Menu -> Maintenance -> Account Settings' in the web portal
  2. Add the user 'news' with the password 'moxa'
  3. Add the user 'newroot' with the password 'moxa'
  4. Click to confirm the changes and reboot the device
  5. Log in via Telnet as 'news'
  6. Use su to switch to 'newroot' and obtain root access

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.

The device's web interface lets users manage accounts. A low-privilege user could create a new account with the same name as an existing system account, which changed that account's password. This let the attacker log in as that account and then escalate to full 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

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