Skip to content
Crypto Advisory Intermediate CVE-2016-8712

Moxa AWK-3131A Web Application Nonce Reuse Vulnerability

The device uses a single nonce for all session authentication requests and only changes it after 300 seconds of inactivity. An attacker who obtains a session token can keep it valid indefinitely by periodically requesting the nonce, even after the user logs out.

Patrick DeSantis Follow

Originally disclosed on Cisco Talos

Medium 5.9 View original

An exploitable nonce reuse vulnerability exists in the Web Application functionality of Moxa AWK-3131A Wireless AP running firmware 1.1. The device uses one nonce for all session authentication requests and only changes the nonce if the web application has been idle for 300 seconds.

Patrick DeSantis, 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 a session token could maintain access indefinitely, even after the user logs out, and could more easily crack credentials due to the fixed nonce.

What the attacker needed

Access to a valid session token; network access to the device

The fix

The web application should be disabled before deployment to significantly mitigate risk, as no direct fix is stated.

How it was found

  1. Obtain a valid session token (e.g., by sniffing or other means).
  2. Periodically request the nonce endpoint every 250 seconds to prevent the nonce from changing.
  3. Use the session token to log in even after the legitimate user has logged out.

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 nonce is a random value meant to be used only once, but here the device reuses the same nonce for all sessions until the web interface is idle for five minutes. This makes it easier to crack the session token and allows a stolen token to remain valid forever if the attacker keeps the session active.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

More by Patrick DeSantis

View all

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

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.