CVE-2025-34323: Nagios Log Server < 2026R1.0.1 Local Privilege Escalation via Writable Scripts and Sudo Rules
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-34323?
CVE-2025-34323 has a high severity due to its potential for local privilege escalation.
How do I fix CVE-2025-34323?
To mitigate CVE-2025-34323, upgrade Nagios Log Server to version 2026R1.0.1 or later.
What are the risks associated with CVE-2025-34323?
CVE-2025-34323 poses security risks by allowing unauthorized users to escalate privileges on vulnerable systems.
Which versions of Nagios Log Server are affected by CVE-2025-34323?
All versions of Nagios Log Server prior to 2026R1.0.1 are affected by CVE-2025-34323.
What causes CVE-2025-34323?
CVE-2025-34323 is caused by unsafe interaction between sudo rules and file system permissions, granting the web server account excessive privileges.