Vulnerabilities · 2025 · Nagios
CVE-2025-34323
Nagios Log Server vulnerability
Nagios Log Server versions prior to 2026R1.0.1 are vulnerable to local privilege escalation due to a combination of sudo misconfiguration and group-writable application directories. The 'www-data' user is a member of the 'nagios' group, which has write access to '/usr/local/nagioslogserver/scripts', while several scripts in this directory are owned by root and may be executed via sudo without a password. A local attacker running as 'www-data' can move one of these root-owned scripts to a backup name and create a replacement script with attacker-controlled content at the original path, then invoke it with sudo. This allows arbitrary commands to be executed with root privileges, providing full compromise of the underlying operating system.
Affected products
Log Server. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nagios Log Server runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.nagios.com/products/security/#log-server · Vendor Advisory
- www.vulncheck.com/advisories/nagios-log-server-local-privilege-escalation-via-writable-scr · Third Party Advisory
- theyhack.me/Rooting-Nagios-Log-Server/
- www.nagios.com/changelog/nagios-log-server/nagios-log-server-2026r1-0-1/
- nvd.nist.gov/vuln/detail/CVE-2025-34323
- cve.org/CVERecord?id=CVE-2025-34323
More vulnerabilities in Nagios products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.