Frangoteam FUXA
FUXA Vulnerable to Unauthenticated Remote Code Execution via Script Test Mode Authorization Bypass
FUXA is a web-based Process Visualization (SCADA/HMI/Dashboard) software. Version 1.3.0 has an unauthenticated Remote Code Execution vulnerability when `secureEnabled` is set to `true`. The `POST /api/runscript` endpoint checks authorization against the stored script's permission by ID, but when `test: true` is set in the request, it compiles and executes attacker-supplied code instead of the stored script's code. An unauthenticated attacker who knows a valid script ID and name may execute arbitrary code via test mode if at least one server-side script exists and is accessible without restrictive permissions. Script IDs and names can be obtained through the unauthenticated information disclosure in `GET /api/project` (reported separately). The only prerequisite is that at least one server-side script exists in the project. Version 1.3.1 fixes the issue.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- = 1.3.0
- >= 1.3.0, < 1.3.1
Fixed in 1.3.1
from GitHub Security Advisory GHSA-rg3m-cfq7-g6h6
Mitigation
Upgrade fuxa-server to 1.3.1 or later.
References
- Vendor advisory github.com/frangoteam/FUXA/security/advisories…
- Patch github.com/frangoteam/FUXA/pull/2260
- Patch github.com/frangoteam/FUXA/commit/78534da61a91…
1 more
- Release notes github.com/frangoteam/FUXA/releases/tag/v1.3.1
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.