漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Magistrala IoT Platform: Unrestricted Go/Lua Script Execution in Rules Engine
Vulnerability 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 Go script engine (re/golang.go) runs scripts through the Yaegi interpreter with stdlib.Symbols, exposing the full Go standard library (including os and net/http) with validation limited to a regex blocking goroutines and panic() calls; dangerous functions such as os.ReadFile, os.WriteFile, os.Remove, and os.Environ remain fully accessible. 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). An authenticated low-privileged user can achieve arbitrary file read/write, environment variable leakage, database access, and SSRF against internal microservices.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Vulnerability Title
Abstract Machines Magistrala 代码注入漏洞
Vulnerability Description
Abstract Machines Magistrala是Abstract Machines组织的一款物联网消息与设备管理平台。 Abstract Machines Magistrala存在代码注入漏洞,该漏洞源于规则引擎中Go和Lua脚本引擎输入验证不当,可能导致任意文件读写、环境变量泄露、数据库访问及服务端请求伪造。
CVSS Information
N/A
Vulnerability Type
N/A