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).
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| absmach | magistrala | — | — |
References
- https://github.com/absmach/magistrala third-party-advisory