Advisories

Nagios XI < 2024R2 Privilege Escalation via process_perfdata.pl

Go Back
severity
high
date
Affecting
  • XI < 2024R2

CWE
  • CWE-732 Incorrect Permission Assignment for Critical Resource
CVSS
8.4
CVSS V4 Vector
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
Credit
M. Cory Billington of theyhack.me
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.