Media

FUXA's scheduler API missing admin check enables operator-to-admin escalation via scheduled device actions

  • Publicada: 08.06.2026
  • Actualizado: 11.10.2026 10:22

Summary

An authorization issue in the Scheduler API allowed authenticated non-admin users to create or modify scheduled actions that should be restricted to administrators.

Details

The Scheduler API did not correctly enforce administrator permissions when processing scheduler modifications.

As a result, authenticated users with non-administrative roles could create or modify scheduled actions that execute privileged operations, including device value changes and server-side script execution.

The issue was fixed in version 1.3.2 by enforcing the appropriate permission checks for scheduler modifications.

Impact

An operator-level user in FUXA reaches the PLC-write and server-side-script-execution surface that the platform otherwise restricts to administrators. In a SCADA deployment those two privileges cover setpoint control and the automation scripting engine. Alice schedules a job that rewrites a pump's enable tag, opens a safety interlock, or runs a project script that walks the device tree. The scheduled-action model extends the attack: Alice does not need to keep a session open for the action to fire, and a repeating schedule re-applies her changes every cycle even if an admin reverts them manually.

CVSS 3.1: AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L (Medium, 6.3). CWE-862.

Recommended Fix

Add authJwt.haveAdminPermission(permission) to both POST /api/scheduler and DELETE /api/scheduler, matching every other write endpoint that reaches runtime.devices.setTagValue or runtime.scriptsMgr.runScript.

js
schedulerApp.post("/api/scheduler", secureFnc, function(req, res) {
    if (res.statusCode === 403) {
        runtime.logger.error("api post scheduler: Tocken Expired");
        return;
    }
    const permission = checkGroupsFnc(req);
    const isGuest = authJwt.isGuestUser(req.userId, req.userGroups);
    if (runtime.settings?.secureEnabled && (isGuest || !authJwt.haveAdminPermission(permission))) {
        res.status(401).json({error:"unauthorized_error", message: "Unauthorized!"});
        runtime.logger.error("api post scheduler: admin permission required");
        return;
    }
    // ... rest unchanged ...
});

Apply the same change to the delete handler at server/api/scheduler/index.js:102-112. As defense in depth, the scheduler service should also validate each deviceActions entry against the creator's stored groups before execution (e.g., reject onRunScript on any scheduler whose author is not an admin at execution time).


A fix is available at https://github.com/frangoteam/FUXA/releases/tag/v1.3.2.


Found by aisafe.io

Software afectado

Haz clic en una tecnología para ver todas sus vulnerabilidades.

PlataformaPaqueteVersiones vulnerablesCorregida en
Paquete de npm fuxa-server <= 1.1.14-1243 sin corrección

Referencias

Puntuación CVSS 6.3/10
Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Debilidad (CWE)
CWE-862
Plataforma
npm
Paquete
fuxa-server
Publicada
08.06.2026
Actualizado
11.10.2026 10:22

Fuentes y licencias

OSV / GitHub Advisory Database - GHSA-8ghr-w65f-j3qr - CC BY 4.0

Historial de vulnerabilidades: fuxa-server

Todas las vulnerabilidades publicadas de este paquete (Paquete de npm), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.

Todas (21) en el archivo
Entradas en total
21
Primera → última
09.2023 06.2026
Sin corrección
9
Explotada en ataques
0

Distribución por gravedad

  • Crítica 8
  • Alta 10
  • Media 3

Divulgaciones por año

  1. 2023: 3
  2. 2024: 0
  3. 2025: 0
  4. 2026: 18
Gravedad:
  1. FUXA's scheduler API missing admin check enables operator-to-admin escalation via scheduled device actions esta entrada
    Media · 6.3 CVE-2026-47721 <= 1.1.14-1243 sin corrección
  2. Alta CVE-2026-25951 < 1.2.11 1.2.11
  3. Crítica CVE-2026-25939 >= 1.2.8, < 1.2.11 1.2.11
  4. Crítica CVE-2026-25938 >= 1.2.8, < 1.2.11 1.2.11
  5. Crítica CVE-2026-25752 < 1.2.10 1.2.10
  6. Crítica CVE-2026-25751 < 1.2.10 1.2.10
  7. Alta · 9.8 CVE-2025-69983 <= 1.2.7 sin corrección
  8. Alta CVE-2025-69981 <= 1.2.7 sin corrección
  9. Alta CVE-2025-69970 <= 1.2.7 sin corrección
  10. Crítica · 9.8 CVE-2023-31719 <= 1.1.12 sin corrección
  11. Alta · 7.5 CVE-2023-31718 <= 1.1.12 sin corrección
  12. Alta · 7.5 CVE-2023-31717 <= 1.1.12 sin corrección

Identifica las vulnerabilidades de tu aplicación

Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.

Conectar tu aplicación
Newsletter DockRay

La seguridad de tus aplicaciones en tu correo

Vulnerabilidades importantes, recomendaciones concretas y consejos prácticos para tus aplicaciones. Elige tus tecnologías y sigue lo que importa para tu proyecto.

  • Un resumen diario de nuevas vulnerabilidades, también las críticas.
  • Avisos sobre actualizaciones importantes.
  • Consejos prácticos sobre seguridad y monitorización de aplicaciones.

Déjalo vacío para recibir avisos de todas las tecnologías.

Suscripción gratuita. Date de baja con un clic en cualquier correo.