A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /Linuxfabrik/monitoring-plugins/blob/ae486fc629e1ca9373e1b6…
- github.com /Linuxfabrik/monitoring-plugins/commit/a0ca1268d84e0caf1044…
- github.com /Linuxfabrik/monitoring-plugins/releases/tag/v7.0.0
- github.com /Linuxfabrik/monitoring-plugins/security/advisories/GHSA-f5…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning