Nagios XI
cpe:2.3:a:nagios:nagios_xi:*:*:*:*:*:*:*
- < 2024R2
A privilege escalation vulnerability has been identified in Nagios XI versions prior to 2024R2. The issue arises from the process_perfdata.pl script, which is executed periodically as the nagios user but is owned by www-data. This improper ownership allows an attacker with web server privileges to modify the script's contents. When the script is executed, it can lead to arbitrary code execution as the nagios user, exploiting the flawed ownership and permission configuration.
Successful exploitation allows for local privilege escalation, with arbitrary code execution as the nagios user.
The vulnerability can be reproduced by uploading a malicious payload to the process_perfdata.pl script, taking advantage of the improper ownership and permission settings. This can be done by an attacker with web server privileges, who can modify the script's contents before it is executed as the nagios user.
Users can upgrade to Nagios XI version 2024R2 or later, where this vulnerability has been addressed.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.