Moxa EDR-810 Web Server Cross-Site Request Forgery Vulnerability
The web server of the Moxa EDR-810 device lacks protection against cross-site request forgery, so a malicious page visited by a logged-in user can perform any action the user is authorised to do. An attacker could add users, change firewall rules, or chain with command injection to get a root shell.
Originally disclosed on Cisco Talos
An exploitable cross-site request forgery vulnerability exists in the web server functionality of Moxa EDR-810 V4.1 build 17030317. A specially crafted HTTP packet can cause cross-site request forgery.
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 web server does not use anti-CSRF tokens or verify the origin of requests, allowing forged requests to be accepted.
Impact
An attacker could perform any action the logged-in user is authorised to do, such as adding users or modifying firewall rules, and could chain this with command injection to get a root shell; the impact is worsened because users cannot log out, so sessions remain valid.
What the attacker needed
Victim is logged in to the device; victim visits a malicious page
The fix
The vendor patched the vulnerability and published new firmware on 2018-04-12.
How it was found
- A logged-in user visits a page containing malicious code.
- The malicious code automatically submits a form to the device's web server.
- The device processes the request as if the user made it.
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.
Cross-site request forgery (CSRF) is when a malicious website makes a logged-in user's browser send a request to another site without the user's knowledge. Here, the device's web interface does not check that requests come from its own pages, so an attacker can trick a logged-in user into performing actions like adding an account or changing firewall rules.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.