Skip to main content
Mallory
Critical

MFA Bypass in SonicWall SSL-VPN Active Directory Authentication

IdentifiersCVE-2024-12802CWE-287

CVE-2024-12802 is an authentication bypass vulnerability in SonicWall SSL-VPN, primarily affecting Gen6 appliances integrated with Microsoft Active Directory. The flaw arises from separate handling of Active Directory account name formats, specifically User Principal Name (UPN) and SAM account names. MFA can be configured independently for each login method rather than being enforced consistently for the underlying identity. As a result, if MFA is configured for one account name format but not the alternate format, an attacker with valid credentials may authenticate through the alternate login path and bypass MFA. Reporting indicates the bypass is commonly achieved via the UPN login format. On Gen6 devices, firmware patching alone does not fully remediate the issue because the vulnerable LDAP configuration can persist unless additional manual reconfiguration steps are completed.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation reduces SSL-VPN access protection from multi-factor authentication to single-factor authentication. An attacker who has obtained valid VPN credentials can gain authenticated remote access to the internal network despite MFA being expected or apparently enabled. Observed post-authentication activity included internal reconnaissance, credential reuse attempts, RDP access to internal systems, and attempted deployment of post-exploitation tooling such as Cobalt Strike and a vulnerable driver intended to disable endpoint protection. This can enable broader compromise, lateral movement, staging for ransomware, and potential data theft or disruptive operations.

Mitigation

If you can’t patch tonight, do this now.

Until full remediation is verified, restrict or disable affected SSL-VPN exposure where operationally possible, especially on Gen6 devices. Verify that MFA enforcement is consistent across all Active Directory login formats and remove or disable alternate authentication formats that are not required, particularly UPN-based login if it is not needed. Monitor SonicWall authentication logs for indicators associated with exploitation, including sess="CLI" and relevant VPN authentication events such as Event ID 238 and Event ID 1080, and investigate logins from VPS/VPN infrastructure or anomalous geographies. Reduce blast radius by limiting VPN user privileges, enforcing strong password controls and lockout protections against brute-force attempts, rotating reused/shared administrative credentials, and blocking known vulnerable drivers to hinder BYOVD follow-on activity. Migration away from Gen6 should be prioritized due to end-of-life status.

Remediation

Patch, then assume compromise.

For SonicWall Gen6 appliances, do not rely on firmware patching alone. Apply the vendor firmware update and complete the six additional manual LDAP reconfiguration steps documented in SonicWall advisory SNWLID-2025-0001 to remove the vulnerable configuration state. The available reporting indicates full remediation requires deleting and rebuilding the affected LDAP configuration so the exploitable userPrincipalName-based path is no longer left in a bypassable state. For Gen7 and Gen8 devices, upgrade to vendor-fixed releases referenced in reporting, including 7.2.0-7015 and 8.0.1-8017, which incorporate the remediation steps and related security enhancements. Because Gen6 hardware is end-of-life, migration to a supported platform is the preferred long-term remediation.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware4

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity20

Community discussion across Reddit, Mastodon, and other social sources.