Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain monitoring account shell access
-
DeliveryIdentify sudoers-listed logfile plugin
-
ExploitInvoke plugin via sudo with --filename=/etc/shadow --warning-regex .
-
ExecutionPlugin opens /etc/shadow as root without path check
-
PersistHash lines returned in WARNING output
-
ImpactCollect credentials for offline cracking
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must hold access to the monitoring service account (e.g., the nagios or icinga OS user) - matching CVSS PR:L (low privilege). The sudoers allowlist shipped with Linuxfabrik Monitoring Plugins must be installed and active on the target host, granting the monitoring account the ability to run the logfile check as root without a password. SUPPRESS_OUTPUT must be false (which is the default, so no deliberate misconfiguration is required beyond standard deployment). The vulnerability is constrained to local access only (AV:L): a remote attacker must first gain monitoring-account-level shell access before exploitation is possible. There is no network-facing attack surface for this flaw itself. Exploitation is further limited to systems running monitoring-plugins < 7.0.0 with the sudoers integration enabled. |
| Impact | The CVSS 3.1 base score of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) accurately captures the threat profile: local attack surface, low privilege requirement (monitoring account), no user interaction, high confidentiality impact, and no integrity or availability impact. The attack complexity is genuinely low - once an attacker controls the monitoring account, a single invocation with --filename=/etc/shadow suffices. The scope is unchanged (S:U), as the attacker cannot directly move laterally through this vulnerability alone, though credential material exposed from /etc/shadow could enable downstream privilege escalation. EPSS data was not provided in source intelligence. No CISA KEV listing exists, indicating no confirmed widespread active exploitation. No public POC has been identified, though exploitation requires no specialized skill. Real-world priority is elevated in environments where the monitoring account is shared, externally exposed, or where credential files hold significant value (e.g., systems not using shadow passwords with hashing algorithms resistant to offline cracking). The vulnerability is less critical in hardened environments where the monitoring account is tightly controlled and not reachable by external parties. |
| Exploit ScenarioDerived | An attacker who has compromised or legitimately holds the nagios or icinga monitoring account invokes the logfile check via the pre-configured sudoers entry: sudo /path/to/logfile --filename=/etc/shadow --warning-regex . with SUPPRESS_OUTPUT not set. Because the plugin runs as root and previously applied no path containment, it opens /etc/shadow, matches every nonempty line against the trivial regex, collects hashed password entries in warn_matches, and returns them in the plugin's WARNING output - which is then stored in the monitoring system's performance database or displayed in the web UI. No public exploit code has been identified, but the technique requires no specialized tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 19, 2026
Arbitrary root-readable file disclosure in Linuxfabrik Monitoring Plugins prior to 7.0.0 allows a local attacker controlling the monitoring account to exfiltrate sensitive files such as /etc/shadow by supplying a crafted --filename path to the logfile check plugin, which executes as root via the shipped sudoers allowlist without confining the resolved path to /var/log. The same path-traversal flaw extends to the mysql-logfile and openvpn-client-list plugins. No public exploit code or CISA KEV listing has been identified at time of analysis, but the attack is straightforward and requires only monitoring-account-level access.
RemediationAI
Upgrade to Linuxfabrik Monitoring Plugins version 7.0.0, released 2026-08-14, which is the vendor-confirmed fix version per the GitHub release tag and CHANGELOG (https://github.com/Linuxfabrik/monitoring-plugins/releases/tag/v7.0.0). The fix confines --filename resolution to /var/log for logfile and openvpn-client-list, and additionally allows /var/lib/mysql for mysql-logfile. If immediate upgrade is not possible, a targeted sudoers mitigation can reduce exposure: restrict permitted arguments in the sudoers entry to explicitly allowlisted --filename values using sudoers Cmnd_Alias with argument constraints, preventing arbitrary path injection. This approach requires careful sudoers syntax and per-host maintenance overhead, making upgrade the strongly preferred path. For monitoring logs stored outside /var/log post-upgrade, use bind mounts (not symlinks, which the new realpath check will reject) to expose them under /var/log. Full advisory: https://github.com/Linuxfabrik/monitoring-plugins/security/advisories/GHSA-f54c-p5vg-mr5c.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected components - check-plugins/logfile, mysql-logfile, and openvpn-client-list - are Python-based monitoring checks designed for Nagios, Icinga, and compatible systems. Because they must read log files owned by root, the shipped sudoers allowlist grants them elevated execution under the root user. Prior to v7.0.0, the logfile plugin accepted the --filename argument as a free-form path, expanded it into a scan_path variable, and passed it directly to Python's open() without any realpath containment or allowlist check - matching the CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) root cause. With --warning-regex . and SUPPRESS_OUTPUT left false (the default), every nonempty line of the opened file was collected into warn_matches and surfaced through lib.base.oao(), effectively turning the monitoring check into a root file reader. The fix in v7.0.0 adds a lib.disk.is_within() call that resolves symlinks and parent-directory traversal sequences before asserting that the result falls within ALLOWED_LOG_ROOTS (/var/log, and /var/lib/mysql for the mysql variant), closing the traversal vector. Affected version range per EUVD (EUVD-2026-62184): monitoring-plugins < 7.0.0.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Local attack requiring monitoring account; sudoers execution as root enables high confidentiality impact; no integrity or availability effect.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
Linuxfabrik Monitoring Plugins provides monitoring plugins for Icinga, Nagios, and related systems. Prior to version 7.0.0, check-plugins/logfile/logfile accepted a free-form --filename path and opened it as root when invoked through the shipped nagios or icinga sudoers allowlist, without confining the resolved path to /var/log. An attacker who controls the monitoring account can select a root-readable file such as /etc/shadow and use --warning-regex . while leaving SUPPRESS_OUTPUT false, causing each nonempty line to be collected in warn_matches and returned through lib.base.oao(). The vulnerable flow passes the expanded scan_path directly to open(), and neither real-path containment nor an allowlist protects the sink. The same fix also confines mysql-logfile and openvpn-client-list paths, allows only documented log roots, and resolves symlinks and parent-directory traversal before checking containment. This issue is fixed in version 7.0.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-62184
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB