Skip to main content
Mallory
CriticalExploited in the wildCISA KEVVulnerability

CVE-2020-12812: Fortinet FortiOS SSL VPN FortiToken MFA Bypass

Published Jul 24, 2020 · Updated 2 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS9.8Critical · v3.1
EPSS45.4%99th percentile
CISA KEVYesAdded Nov 3, 2021
In the wildActivePer CISA KEV
Vendor
Fortinet
IdentifiersCVE-2020-12812CWE-287 · Improper Authentication
Also known asfg_ir_19_283

CVE-2020-12812 is an improper authentication vulnerability in Fortinet FortiOS SSL VPN affecting FortiOS 6.4.0, 6.2.0 through 6.2.3, and 6.0.9 and earlier. In configurations combining local FortiToken-protected accounts with remote LDAP authentication, inconsistent username case handling allows a case-altered username to evade the local account match and authenticate through a secondary LDAP group policy without the required second factor. Exploitation requires valid directory credentials; it does not bypass password authentication.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

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

Attackers possessing valid LDAP credentials can defeat locally configured FortiToken MFA and obtain access authorized by the matching authentication policy. This enables unauthorized VPN access to internal resources and, where administrative authentication uses the affected configuration, potentially firewall administrative access. The resulting foothold can facilitate reconnaissance, credential theft, lateral movement, data exfiltration, and ransomware deployment; these are potential follow-on activities rather than direct capabilities of the vulnerability. Exploitation has been documented in ransomware operations, including Hive and Play.

Mitigation

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

On versions exposing the username-case-sensitivity attribute, disable it for affected user-local entries so username capitalization changes cannot evade the local MFA-protected account match. Remove unnecessary secondary LDAP group configurations and authentication-policy references that permit password-only fallback. Enforce MFA at the identity layer across alternate authentication paths. Monitor case-varied login attempts, unexpected LDAP policy matches, and successful authentication without corresponding second-factor activity. No vendor workaround is specified for versions lacking the username-case-sensitivity attribute.

Remediation

Patch, then assume compromise.

Upgrade to a currently supported, fixed FortiOS release. The initial fixed releases were 6.0.10, 6.2.4, and 6.4.1 in their respective branches. Also manually set username-case-sensitivity to disable in the applicable user-local entries using remote authentication and FortiToken MFA; upgrading alone does not satisfy the vendor's prevention instructions. Audit local MFA-enabled accounts, remote authentication backends, and LDAP group policy references. If exploitation is suspected or confirmed, investigate unauthorized access and perform a comprehensive credential reset covering FortiGate and LDAP/Active Directory accounts.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
FortinetFortiosoperating_system
FAQ

Frequently asked questions

Is CVE-2020-12812 exploited in the wild?
Yes. As of Nov 30, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
Is there a public exploit for CVE-2020-12812?
As of Nov 30, 2026, Mallory has found no public exploit for CVE-2020-12812.
Is there a patch for CVE-2020-12812?
Upgrade to a currently supported, fixed FortiOS release. The initial fixed releases were 6.0.10, 6.2.4, and 6.4.1 in their respective branches.
What products are affected by CVE-2020-12812?
Fortinet Fortios.
How severe is CVE-2020-12812?
CVE-2020-12812 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 45.4% (99th percentile) as of Nov 30, 2026.
Mallory platform

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, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence8Every report linking this CVE to a named adversary.
Associated malware7Malware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity72Community discussion across Reddit, Mastodon, and other social sources.