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 package | Versions | Reported by |
|---|---|---|
| Nagios XI | before 2024R2 | CVE List |
| nagios nagios_xi | before 2024, 2024 | NVD |
All scores
| VulnCheck | 8.4high CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
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
| https://www.nagios.com/changelog/nagios-xi/ | patch, release-notes | |
| https://www.vulncheck.com/advisories/nagios-xi-privilege-escalation-via-improperly-owned-script | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-34287 changed 2025-11-17 | CVE Terms of Use |
| NVD | CVE-2025-34287 changed 2026-10-07 | Public domain |