{"id":"CVE-2025-34323","aliases":["CVE-2025-34323"],"related":[],"kind":"vulnerability","state":"published","title":"Nagios Log Server < 2026R1.0.1 Local Privilege Escalation via Writable Scripts and Sudo Rules","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Las versiones de Nagios Log Server anteriores a 2026R1.0.1 son vulnerables a la escalada de privilegios local debido a una combinación de mala configuración de sudo y directorios de aplicación con permisos de escritura para el grupo. El usuario 'www-data' es miembro del grupo 'nagios', el cual tiene acceso de escritura a '/usr/local/nagioslogserver/scripts', mientras que varios scripts en este directorio son propiedad de root y pueden ejecutarse a través de sudo sin contraseña. Un atacante local ejecutándose como 'www-data' puede mover uno de estos scripts propiedad de root a un nombre de respaldo y crear un script de reemplazo con contenido controlado por el atacante en la ruta original, y luego invocarlo con sudo. Esto permite que se ejecuten comandos arbitrarios con privilegios de root, lo que proporciona un compromiso total del sistema operativo subyacente.","source":"nvd"}],"published":"2025-11-17T17:48:28.973Z","modified":"2026-10-07T21:10:00.200Z","severity":{"scorer":"VulnCheck","scheme":"CVSS: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","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS: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","score":8.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-732"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"2026R1.0.1","status":"affected"}],"vendor":"Nagios","product":"Log Server","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2026"},{"status":"affected","version":"2026"}],"vendor":"nagios","product":"log_server","cpe":"cpe:2.3:a:nagios:log_server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.nagios.com/products/security/#log-server","tags":["patch","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.nagios.com/changelog/nagios-log-server/nagios-log-server-2026r1-0-1/","tags":["patch","release-notes"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/nagios-log-server-local-privilege-escalation-via-writable-scripts-and-sudo-rules","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://theyhack.me/Rooting-Nagios-Log-Server/","tags":["exploit","technical-description"],"sources":["cvelist","nvd"]}],"credits":["M. Cory Billington of theyhack.me"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-11-18T04:55:23.887Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-34323","url":"https://www.cve.org/CVERecord?id=CVE-2025-34323","licence":"CVE Terms of Use","modified":"2026-05-14T02:08:14.839Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-34323","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-34323","licence":"Public domain","modified":"2026-10-07T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:07.728Z","epss":{"score":0.00348,"percentile":0.30397,"date":"2026-12-01T12:00:22.000Z"}}