Submit #1069887: Frangoteam Fuxa 1.3.5 Authorization Bypassinfo

TitleFrangoteam Fuxa 1.3.5 Authorization Bypass
DescriptionFUXA 1.3.5 (Frangoteam) fails to enforce authorization on POST /api/runscript when userRole is enabled, allowing an unauthenticated remote attacker to execute stored server-side scripts that lack a permissionRoles object. GitHub advisory (not yet public):https://github.com/frangoteam/FUXA/security/advisories/GHSA-268q-fjcc-9pch Feishu document password : 93H&4959 (More details and screenshots can be found in the Feishu document.) A vulnerability was found in Frangoteam FUXA 1.3.5.This issue affects the server-side script runtime in server/runtime/scripts/index.js. When the role-based access control setting userRole is enabled, isAuthorised() returns true for any stored script that lacks a permissionRoles object, before the legacy permission bitmask is evaluated, so legacy scripts (permission: 1, no permissionRoles) are treated as unrestricted. The script id required for the call is disclosed by the unauthenticated GET /api/project endpoint, and POST /api/runscript then executes the script without any credentials, returning HTTP 200 and the script output; with userRole disabled the same request is rejected with HTTP 400, which isolates the flaw to the role-mode branch. Because scripts can call setTag,enableDevice and $setDeviceProperty, an unauthenticated attacker can modify tag values, enable or disable devices and change runtime device properties, and an authenticated user with groups=0 can do the same. The vendor has acknowledged the report. Treating a missing permissionRoles as deny and rejecting guests on /api/runscript mitigates the issue.
Source⚠️ https://rcn42oazznuk.feishu.cn/file/UdXMbKbKPoDeu0xZ8w5cI8kInmU
User
 binlab_hl (UID 102640)
Submission11/02/2026 09:39 (28 days ago)
Moderation11/30/2026 20:15 (28 days later)
StatusDuplicate
VulDB entry428279 [Frangoteam Fuxa 1.3.2-2809 HTTP /api/runscript runScript authorization]
Points0

Want to know what is going to be exploited?

We predict KEV entries!