CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2018-8734

SQL injection vulnerability in the core config manager in Nagios XI 5.2.x through 5.4.x before 5.4.13 allows an attacker to execute arbitrary SQL commands via the selInfoKey1 parameter.
Publish Date : 2018-04-17 Last Update Date : 2018-07-04
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
7.5
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute CodeSql Injection
CWE ID 89

- Products Affected By CVE-2018-8734

# Product Type Vendor Product Version Update Edition Language
1 Application Nagios Nagios Xi 5.2.0 Version Details Vulnerabilities
2 Application Nagios Nagios Xi 5.2.1 Version Details Vulnerabilities
3 Application Nagios Nagios Xi 5.2.2 Version Details Vulnerabilities
4 Application Nagios Nagios Xi 5.2.3 Version Details Vulnerabilities
5 Application Nagios Nagios Xi 5.2.4 Version Details Vulnerabilities
6 Application Nagios Nagios Xi 5.2.5 Version Details Vulnerabilities
7 Application Nagios Nagios Xi 5.2.6 Version Details Vulnerabilities
8 Application Nagios Nagios Xi 5.2.7 Version Details Vulnerabilities
9 Application Nagios Nagios Xi 5.2.8 Version Details Vulnerabilities
10 Application Nagios Nagios Xi 5.2.9 Version Details Vulnerabilities
11 Application Nagios Nagios Xi 5.3.0 Version Details Vulnerabilities
12 Application Nagios Nagios Xi 5.3.1 Version Details Vulnerabilities
13 Application Nagios Nagios Xi 5.3.2 Version Details Vulnerabilities
14 Application Nagios Nagios Xi 5.3.3 Version Details Vulnerabilities
15 Application Nagios Nagios Xi 5.3.4 Version Details Vulnerabilities
16 Application Nagios Nagios Xi 5.4.0 Version Details Vulnerabilities
17 Application Nagios Nagios Xi 5.4.1 Version Details Vulnerabilities
18 Application Nagios Nagios Xi 5.4.2 Version Details Vulnerabilities
19 Application Nagios Nagios Xi 5.4.3 Version Details Vulnerabilities
20 Application Nagios Nagios Xi 5.4.4 Version Details Vulnerabilities
21 Application Nagios Nagios Xi 5.4.5 Version Details Vulnerabilities
22 Application Nagios Nagios Xi 5.4.6 Version Details Vulnerabilities
23 Application Nagios Nagios Xi 5.4.7 Version Details Vulnerabilities
24 Application Nagios Nagios Xi 5.4.8 Version Details Vulnerabilities
25 Application Nagios Nagios Xi 5.4.9 Version Details Vulnerabilities
26 Application Nagios Nagios Xi 5.4.10 Version Details Vulnerabilities
27 Application Nagios Nagios Xi 5.4.11 Version Details Vulnerabilities
28 Application Nagios Nagios Xi 5.4.12 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Nagios Nagios Xi 28

- References For CVE-2018-8734

https://www.nagios.com/downloads/nagios-xi/change-log/
https://assets.nagios.com/downloads/nagiosxi/CHANGES-5.TXT
https://www.exploit-db.com/exploits/44560/
EXPLOIT-DB 44560
https://gist.github.com/caleBot/f0a93b5a98574393e0139104eacc2d0f
https://blog.redactedsec.net/exploits/2018/04/26/nagios.html
https://www.exploit-db.com/exploits/44969/
EXPLOIT-DB 44969

- Metasploit Modules Related To CVE-2018-8734

Nagios XI Chained Remote Code Execution
This module exploits a few different vulnerabilities in Nagios XI 5.2.6-5.4.12 to gain remote root access. The steps are: 1. Issue a POST request to /nagiosql/admin/settings.php which sets the database user to root. 2. SQLi on /nagiosql/admin/helpedit.php allows us to enumerate API keys. 3. The API keys are then used to add an administrative user. 4. An authenticated session is established with the newly added user 5. Command Injection on /nagiosxi/backend/index.php allows us to execute the payload with nopasswd sudo, giving us a root shell. 6. Remove the added admin user and reset the database user.
Module type : exploit Rank : manual Platforms : Linux


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.