CVE-2025-34287
JSON

8.4high

Nagios XI < 2024R2 Privilege Escalation via process_perfdata.pl

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

Description

Nagios XI versions prior to 2024R2 contain an improperly owned script, process_perfdata.pl, which is executed periodically as the nagios user but owned by www-data. Because the file was writable by www-data, an attacker with web server privileges could modify its contents, leading to arbitrary code execution as the nagios user when the script is next run. This improper ownership and permission configuration enables local privilege escalation.

Affected

Product or packageVersionsReported by
Nagios XIbefore 2024R2CVE List
nagios nagios_xibefore 2024, 2024NVD

All scores

VulnCheck8.4high CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/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 partial.

What each source says

CVE List

Nagios XI versions prior to 2024R2 contain an improperly owned script, process_perfdata.pl, which is executed periodically as the nagios user but owned by www-data. Because the file was writable by www-data, an attacker with web server privileges could modify its contents, leading to arbitrary code execution as the nagios user when the script is next run. This improper ownership and permission configuration enables local privilege escalation.

NVD (es)

Las versiones de Nagios XI anteriores a 2024R2 contienen un script con una propiedad incorrecta, process_perfdata.pl, que se ejecuta periódicamente como el usuario nagios pero es propiedad de www-data. Debido a que el archivo era escribible por www-data, un atacante con privilegios de servidor web podría modificar su contenido, lo que llevaría a la ejecución de código arbitrario como el usuario nagios cuando el script se ejecute la próxima vez. Esta configuración incorrecta de propiedad y permisos permite la escalada de privilegios local.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-34287 changed 2025-11-17CVE Terms of Use
NVDCVE-2025-34287 changed 2026-10-07Public domain