Advisories

Nagios XI < 5.7.3 Privilege escalation via Insecure getprofile.sh Script

Go Back
severity
high
date
Affecting
  • XI < 5.7.3

CWE
  • CWE-73 External Control of File Name or Path
  • CWE-250 Execution with Unnecessary Privileges
CVSS
8.5
CVSS V4 Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Credit
Christian Weiler
Description
Nagios XI versions prior to 5.7.3 contain a privilege escalation vulnerability in the getprofile.sh helper script. The script performed profile retrieval and initialization routines using insecure file/command handling and insufficient validation of attacker-controlled inputs, and in some deployments executed with elevated privileges. A local attacker with low-level access could exploit these weaknesses to cause the script to execute arbitrary commands or modify privileged files, resulting in privilege escalation.