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.
Originally disclosed on Cisco Talos
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.
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
- Obtain a valid session token (e.g., by sniffing or other means).
- Periodically request the nonce endpoint every 250 seconds to prevent the nonce from changing.
- 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.