Nagios XI Multiple Vulnerabilities


Description   (#Several vulnerabilities have been identified in Nagios XI:#- Privilege escalation (0-day). A remote attacker, with administrative privileges, could exploit it by uploading a profile.zip archive containing a malicious getprofile.sh file and a profile.php file calling the shell script in order to execute arbitrary commands with root privileges. This vulnerability is due to the insecure implementation of the application?s component upload functionality##- SQL injection in the 'host? and 'service? GET parameters of the 'nagiosim.php? page, allowing retrieval of sensitive information such as the administrative users? password hash (unsalted MD5) or the token used to authenticate to the Nagios XI REST API##- Command injection in the 'title' and 'end' GET parameters of respectively the 'nagiosim.php? and the 'graphApi' page, allowing for arbitrary code execution in the context of the 'apache' user##- Server-Side Request Forgery in the 'proxyurl' GET parameter of the "ajaxproxy.php" page, and in the 'url' parameter. A remote attacker can exploit it by sending a specially crafted application request in order to perform several operations like scan and attack systems on the LAN or enumerate services on these systems.##- Account Hijacking. A remote attacker could exploit it by using a token intended for changing a limited user's password in a specially crafted POST request in order to reset an administrative account's password.##Proofs of concept are available.#Updated, 21/07/2016:#An exploitation code for these vulnerabilities has been added to the Metasploit framework.)
     
Vulnerable Products   Vulnerable Software:
Nagios XI (Nagios) -
     
Solution   Version 5.2.8 of Nagios XI fixes these vulnerabilities, except the privilege escalation vulnerability (which is thus a 0-day vulnerability).
     
CVE  
     
References   - 0day : Nagios XI 5.2.7 Code Execution / SQL Injection / Privilege Escalation Vulnerabilities
http://0day.today/exploit/25398
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
SQL injection Prevention - GET : suspicious OR statement in URL
3.2.0
SQL injection Prevention - GET : suspicious combination of 'OR' or 'AND' statements in URL
3.2.0
SQL injection Prevention - GET : suspicious CREATE statement in URL
3.2.0
SQL injection Prevention - GET : suspicious CAST statement in URL
3.2.0
SQL injection Prevention - GET : suspicious OPENROWSET statement in URL
3.2.0
SQL injection Prevention - GET : suspicious DECLARE statement in URL
3.2.0
SQL injection Prevention - GET : suspicious OPENQUERY statement in URL
3.2.0
SQL injection Prevention - GET : suspicious shutdown statement in URL
3.2.0
SQL injection Prevention - GET : suspicious UNION SELECT statement in URL
3.2.0
SQL injection Prevention - GET : possible database version probing
3.2.0
SQL injection Prevention - GET : suspicious UPDATE SET statement in URL
3.2.0
SQL injection Prevention - GET : suspicious SELECT statement in URL
3.2.0
SQL injection Prevention - GET : suspicious INSERT statement in URL
3.2.0
SQL injection Prevention - GET : suspicious DROP statement in URL
3.2.0
SQL injection Prevention - GET : suspicious EXEC statement in URL
3.2.0
SQL injection Prevention - GET : block comment delimiters in URL
3.2.0
SQL injection Prevention - GET : suspicious combination of 'select' and 'sleep' statements in URL
5.0.0
Nagios XI code execution
5.0.0
SQL injection Prevention - GET : Evasion attempt with CAST and EXEC statements
5.0.0
SQL injection Prevention - GET : Authentication bypass attempt with OR statement
5.0.0
     


 
 
 
 
 Risk level 
High 

 Vulnerability First Public Report Date 
2016-06-04 

 Target Type 
Server 

 Possible exploit 
Remote