frangoteam FUXA /nodered authorization bypass vulnerability
The /nodered authorisation callback in FUXA accepted any validly signed JWT, including guest tokens minted for unauthenticated users by the /api/heartbeat route. An unauthenticated attacker could therefore reach the Node-RED integration and deploy malicious flows to run arbitrary commands on the device.
Originally disclosed on Cisco Talos
A undefined vulnerability exists in the /nodered functionality of FUXA (version(s): 1.3.2-2809). A specially crafted HTTP request can lead to a arbitrary code execution.
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 unauthenticated attacker could access the Node-RED deployment and deploy flows that execute arbitrary commands on the device, though only where Node-RED integration has been enabled.
What the attacker needed
Node-RED integration enabled; no account needed
The fix
It was fixed in FUXA v1.3.3, where the middleware rejects guest JWTs and refresh tokens and requires an authenticated non-guest user or a valid API key.
How it was found
- Send an unauthenticated request to the heartbeat route to obtain a guest token.
- Supply that token to a /nodered route via the header, query parameter or cookie.
- The callback verifies the signature and forwards the request to Node-RED.
- Deploy a malicious Node-RED flow to execute commands on the device.
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.
FUXA is software for building dashboards of industrial processes, and it can embed Node-RED, a tool for wiring together automations. The check guarding that embedded tool only asked 'is this token genuine?', not 'is this person allowed?', and the server handed out genuine tokens to anyone who asked. So a stranger could get in and change the automations, which can run commands on the machine.
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.