Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
linuxfabrik-lib: Local privilege escalation using embedded command
Vulnerability Description
linuxfabrik-lib provides Python modules for database access, caching, shell execution, and API integrations, and Linuxfabrik Monitoring Plugins uses those modules to run external monitoring commands. From the earliest affected releases until linuxfabrik-lib 5.0.0 and Linuxfabrik Monitoring Plugins 6.0.0, check plugins embedded user-controlled values in command strings passed to lib.shell.shell_exec(), which split strings at pipe characters and executed the resulting commands. In check-plugins/restic-check/restic-check, the --repo parameter could inject a pipe-delimited command into a constructed restic invocation, and sudo-authorized execution allowed a compromised nagios or icinga account to run that command as root. The shared library also accepted command strings and a shell parameter, while numerous plugins constructed external commands from attacker-influenced arguments. The fixes require argv lists, always use shell=False, remove pipe splitting, and reject option-like positional values through lib.shell.safe_cli_value(). These issues are fixed in linuxfabrik-lib 5.0.0 and Linuxfabrik Monitoring Plugins 6.0.0.
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Vulnerability Title
Linuxfabrik Python Libraries 命令注入漏洞
Vulnerability Description
Linuxfabrik Python Libraries是Linuxfabrik组织开源的一系列Python开发库。 Linuxfabrik Python Libraries 6.0.0之前版本存在命令注入漏洞,该漏洞源于命令字符串处理不当,用户可控值被嵌入命令字符串并传递给shell_exec(),通过管道字符分隔执行,可能导致命令注入,攻击者可通过--repo参数注入管道分隔命令,并利用sudo授权以root权限执行任意命令。
CVSS Information
N/A
Vulnerability Type
N/A