CVE-2025-34323
JSON

8.5high

Nagios Log Server < 2026R1.0.1 Local Privilege Escalation via Writable Scripts and Sudo Rules

Severity
8.5high CVSS:4.0 by VulnCheck
Exploit likelihood
0.35% (higher than 30% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

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

Product or packageVersionsReported by
Nagios Log Serverbefore 2026R1.0.1CVE List
nagios log_serverbefore 2026, 2026NVD

All scores

VulnCheck8.5high CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-732

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-34323 changed 2026-05-14CVE Terms of Use
NVDCVE-2025-34323 changed 2026-10-07Public domain