Moxa EDR-810 Web Server Weak Cryptography for Passwords Vulnerability
The web server of the Moxa EDR-810 device sends an unsalted MD5 hash of the user's password in a cookie with every authenticated request. An attacker who can intercept network traffic could capture this hash and crack it offline to recover the plaintext password.
Originally disclosed on Cisco Talos
An exploitable Weak Cryptography for Passwords vulnerability exists in the web server functionality of Moxa EDR-810 V4.1 build 17030317. An attacker could intercept weakly encrypted passwords and could brute force them.
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
The application stores the user's password as an unsalted MD5 hash in a client-side cookie, which is sent with every request and can be cracked offline.
Impact
An attacker who can intercept network traffic could obtain the password hash and crack it to recover the device password, potentially leading to unauthorised access.
What the attacker needed
Attacker can intercept network traffic; victim is logged in to the device
The fix
The vendor patched the issue and published new firmware on 2018-04-12.
How it was found
- Log in to the device's web interface.
- Observe that each authenticated request includes a cookie with a PASSWORD parameter containing an MD5 hash of the password.
- Capture the cookie from network traffic.
- Crack the unsalted MD5 hash offline to recover the plaintext password.
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.
When you log in to a website, your browser often sends a cookie with each request to prove who you are. Here, that cookie contains a scrambled version of your password (an MD5 hash), but the scrambling is weak and can be reversed by guessing. Someone who can listen to the network traffic could steal that cookie and figure out your actual password.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.