Skip to content
Access control Advisory Advanced CVE-2019-5165

Moxa AWK-3131A iw_webs hostname Authentication Bypass Vulnerability

The device's web authentication check treats traffic as local if the source IP matches the device's hostname, and the hostname can be set to an attacker's IP address. An attacker with SNMP write access can set the hostname and then send HTTP requests with a Cookie header to bypass authentication and access any web page.

Jared Rittle Follow

Originally disclosed on Cisco Talos

High 8.0 View original

An exploitable authentication bypass vulnerability exists in the hostname processing of the Moxa AWK-3131A firmware version 1.13. A specially configured device hostname can cause the device to interpret select remote traffic as local traffic, resulting in a bypass of web authentication.

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

Impact

An attacker with SNMP write access could bypass web authentication and access any page on the device, potentially leading to full configuration control.

What the attacker needed

SNMP write access to the device; Ability to send HTTP requests to the device

How it was found

  1. Set the device hostname to the attacker's IP address via SNMP.
  2. Send an HTTP request to any protected page with a Cookie header set.
  3. The device treats the request as local and serves the page without authentication.

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 management page that normally requires a password. The device has a rule that if a request comes from itself (like from its own IP address or hostname), it skips the password check. An attacker who can change the device's hostname to their own IP address can trick the device into thinking their requests are local, so they can access any page without logging in.

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.