linuxfabrik-lib: Local privilege escalation using embedded command
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Linuxfabrik | monitoring-plugins | affected |
|
||||||
| Linuxfabrik | lib | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Linuxfabrik | Lib |
|
||||||||
| Linuxfabrik | Monitoring-plugins |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-798h-hpph-m24j | Linuxfabrik Monitoring Plugins have local privilege escalation using embedded command |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.211% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Linuxfabrik
Linuxfabrik lib Linuxfabrik monitoring-plugins |
|
| Vendors & Products |
Linuxfabrik
Linuxfabrik lib Linuxfabrik monitoring-plugins |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | linuxfabrik-lib: Local privilege escalation using embedded command | |
| Weaknesses | CWE-78 | |
| References |
|
|
| Metrics |
cvssV3_1
|