Advisories

Nagios XI Privilege Escalation via Writable PHP Include Executed with Sudo

Go Back
severity
high
date
Affecting
  • Nagios XI < 2026R1.1

CWE
  • CWE-732 Incorrect Permission Assignment for Critical Resource
CVSS
8.6
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Credit
M. Cory Billington of theyhack.me
Description
Nagios XI versions prior to 2026R1.1 are vulnerable to local privilege escalation due to an unsafe interaction between sudo permissions and application file permissions. A user‑accessible maintenance script may be executed as root via sudo and includes an application file that is writable by a lower‑privileged user. A local attacker with access to the application account can modify this file to introduce malicious code, which is then executed with elevated privileges when the script is run. Successful exploitation results in arbitrary code execution as the root user.