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.
Originally disclosed on Cisco Talos
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.
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
- Navigate to 'Main Menu -> Maintenance -> Account Settings' in the web portal
- Add the user 'news' with the password 'moxa'
- Add the user 'newroot' with the password 'moxa'
- Click to confirm the changes and reboot the device
- Log in via Telnet as 'news'
- 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.