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.
Problem types
CWE-73 External Control of File Name or Path
CWE-250 Execution with Unnecessary Privileges
Product status
Any version before 5.7.3
Credits
Christian Weiler
References
www.nagios.com/changelog/nagios-xi/
www.vulncheck.com/...calation-via-insecure-getprofile-script