{"id":"CVE-2025-34323","published":"2025-11-17T17:48:28Z","modified":"2026-05-14T02:08:14Z","title":"Nagios Log Server < 2026R1.0.1 Local Privilege Escalation via Writable Scripts and Sudo Rules","vendor":"Nagios","product":"Log Server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00348,"percentile":0.29147,"provenance":"source"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"references":[{"url":"https://www.nagios.com/products/security/#log-server","tags":["vendor-advisory","patch"]},{"url":"https://www.nagios.com/changelog/nagios-log-server/nagios-log-server-2026r1-0-1/","tags":["release-notes","patch"]},{"url":"https://www.vulncheck.com/advisories/nagios-log-server-local-privilege-escalation-via-writable-scripts-and-sudo-rules","tags":["third-party-advisory"]},{"url":"https://theyhack.me/Rooting-Nagios-Log-Server/","tags":["technical-description","exploit"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":5.83},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.95}]},"vendorSlug":"nagios","affectedVersions":[{"vendor":"Nagios","product":"Log Server","versions":["< 2026R1.0.1"]}],"capec":[{"id":"CAPEC-122","name":"Privilege Abuse"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-11-18T04:55:23.887125Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-197844","exploited":false,"provenance":"source"},"exploitRefs":["https://theyhack.me/Rooting-Nagios-Log-Server/"]}