Magistrala IoT Platform - Unrestricted Go/Lua Script Execution in Rules Engine
absmach magistrala
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| absmach magistrala |
| No fix yet |
Original description
Magistrala's Rules Engine allows authenticated users to create rules with embedded Go or Lua scripts executed server-side when IoT messages arrive. The Lua script engine (re/lua.go) performs no input validation at all and preloads dangerous libraries: db (arbitrary database access), ioutil (file I/O), an HTTP client (SSRF), and filepath (traversal).
From the CVE record · TuranSec