CVE-2025-34287CWE-732

CVE-2025-34287

High ยท published October 31, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
20.3
In the wild
Unconfirmed
What it is

โšก A script owned by the wrong user could let attackers escalate privileges in Nagios XI! ๐Ÿฆธ Think of it like a restaurant where the head chef's recipe book is left open for the waitstaff to rewrite. If someone sneaks in with a pen, they could change the dish to something completely unexpected, and the next diners might get an awful surprise! An attacker with web server access could modify the process_perfdata.pl script, leading to arbitrary code execution as the nagios user when the script runs next. This could compromise the entire Nagios XI instance, allowing the attacker to control the monitoring environment and potentially disrupt critical operations. Yikes!

Put simply

Think of it like a restaurant where the head chef's recipe book is left open for the waitstaff to rewrite. If someone sneaks in with a pen, they could change the dish to something completely unexpected, and the next diners might get an awful surprise! The vulnerability stems from improper file ownership and permissions on the process_perfdata.pl script, which is executed periodically as the nagios user but is owned by the www-data user, allowing modifications that lead to privilege escalation.

What to do

An attacker with web server access could modify the process_perfdata.pl script, leading to arbitrary code execution as the nagios user when the script runs next. This could compromise the entire Nagios XI instance, allowing the attacker to control the monitoring environment and potentially disrupt critical operations. Yikes! Upgrade Nagios XI to version 2024R2 or later immediately. Additionally, review file ownership and permissions for sensitive scripts, ensuring they are not writable by unintended users. Regular audits can help catch similar misconfigurations in the future! You've got this! Take these steps to lock it down, and your Nagios setup will be safer in no time! ๐Ÿ›ก๏ธ

The record
Technical detail
CVSS v3.1
7.8 ยท HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00289 ยท 20.3th percentile
Weakness
CWE-732 ยท Incorrect Permission Assignment for Critical Resource
Published
2025-10-31T02:15Z
Affected products (23)
ProductVersionsFixed in
nagios/nagios_xi< 20242024
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
nagios/nagios_xiall versionsโ€”
References (2)
EPSS history
Timeline
  • 30 OCT 21:39Z
    Nagios XI < 2024R2 Privilege Escalation via process_perfdata.pl
    cvelistv5