Mittel

FUXA has SQL Injection in its TDengine DAQ connector via backslash bypass of escapeTdString

  • Veröffentlicht: 08.06.2026
  • Aktualisiert: 11.10.2026 10:22

Summary

The TDengine DAQ storage connector's escapeTdString at server/runtime/storage/tdengine/index.js:10 doubles single quotes but does not escape backslashes. TDengine's SQL parser treats \' as a literal single quote inside a string, so a tag id of the form x\' OR 1=1-- escapes the first single quote, lets the doubled quote close the string, and appends an injected clause that runs on the TDengine server. An attacker (Alice) sends the crafted sids value through GET /api/daq or the Socket.IO DAQ_QUERY event and reads every row in fuxa.meters, which holds the historical tag values of every PLC the FUXA instance records.

Details

The TDengine DAQ storage connector did not correctly sanitize user-controlled values before including them in SQL queries.

A specially crafted tag identifier could bypass the intended escaping logic and alter the query executed against the TDengine database.

This could allow unauthorized access to historical DAQ data stored in TDengine, including recorded tag values and related metadata.

The issue has been fixed in version 1.3.2 by improving input escaping in the TDengine connector.

Impact

An attacker with network access to a FUXA instance configured with TDengine as the DAQ backend reads the entire historical tag-value archive: every PLC tag the instance has recorded, plus the associated device ids and device names. Turning on authentication does not close the gap: the Socket.IO DAQ_QUERY handler has no authorization check, and /api/daq accepts guest-level requests. No login is needed in the default configuration.

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

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


Found by aisafe.io

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
npm-Paket fuxa-server <= 1.1.14-1243 keine Korrektur

Verweise

CVSS-Wert 5.3/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Schwäche (CWE)
CWE-89
Plattform
npm
Paket
fuxa-server
Veröffentlicht
08.06.2026
Aktualisiert
11.10.2026 10:22

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-h9fj-c2qr-76g2 - CC BY 4.0

Schwachstellenhistorie: fuxa-server

Alle veröffentlichten Schwachstellen dieses Pakets (npm-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Alle (21) im Archiv
Einträge insgesamt
21
Erste → letzte
09.2023 06.2026
Ohne Fix
9
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Kritisch 8
  • Hoch 10
  • Mittel 3

Veröffentlichungen pro Jahr

  1. 2023: 3
  2. 2024: 0
  3. 2025: 0
  4. 2026: 18
Schweregrad:
  1. FUXA has SQL Injection in its TDengine DAQ connector via backslash bypass of escapeTdString dieser Eintrag
    Mittel · 5.3 CVE-2026-47720 <= 1.1.14-1243 keine Korrektur
  2. Hoch CVE-2026-25951 < 1.2.11 1.2.11
  3. Kritisch CVE-2026-25939 >= 1.2.8, < 1.2.11 1.2.11
  4. Kritisch CVE-2026-25938 >= 1.2.8, < 1.2.11 1.2.11
  5. Kritisch CVE-2026-25752 < 1.2.10 1.2.10
  6. Kritisch CVE-2026-25751 < 1.2.10 1.2.10
  7. Hoch · 9.8 CVE-2025-69983 <= 1.2.7 keine Korrektur
  8. Hoch CVE-2025-69981 <= 1.2.7 keine Korrektur
  9. Hoch CVE-2025-69970 <= 1.2.7 keine Korrektur
  10. Kritisch · 9.8 CVE-2023-31719 <= 1.1.12 keine Korrektur
  11. Hoch · 7.5 CVE-2023-31718 <= 1.1.12 keine Korrektur
  12. Hoch · 7.5 CVE-2023-31717 <= 1.1.12 keine Korrektur

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.