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 12 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 version 6.4.0, versions 6.2.0 through 6.2.3, and versions 6.0.9 and earlier. In configurations combining local FortiToken-protected accounts with remote LDAP authentication, inconsistent username case handling can allow a case-altered username to avoid matching the local MFA-protected account while authenticating through a secondary LDAP group policy. A user possessing valid directory credentials can consequently log in without completing the required FortiToken challenge. The vulnerability bypasses the second factor, not password authentication, and has been exploited in the wild.

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.

Successful exploitation defeats configured two-factor authentication and permits access using valid directory credentials alone. SSL VPN access exposes the internal resources authorized by the matching authentication policy. Depending on other configured authentication policies, administrative access may also be possible. The resulting foothold can facilitate reconnaissance, credential theft, lateral movement, data exfiltration, and ransomware deployment; these are potential follow-on activities rather than capabilities directly supplied by the authentication flaw. Hive and Play ransomware operators have used this vulnerability for initial access.

Mitigation

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

Where the username-case-sensitivity attribute is available, manually disable it for affected user-local entries so capitalization changes cannot evade the local MFA-protected account match. No vendor workaround is specified for versions lacking this attribute. Remove unnecessary secondary LDAP group configurations that provide password-only fallback authentication, and enforce MFA across alternate authentication paths. Monitor case-varied login attempts, unexpected LDAP policy matches, and successful VPN or administrative sessions without corresponding second-factor activity.

Remediation

Patch, then assume compromise.

Upgrade to FortiOS 6.0.10, 6.2.4, 6.4.1, or a later applicable fixed release, preferably a currently supported release. In addition to upgrading, manually set username-case-sensitivity to disable in the applicable user-local configurations using remote authentication and FortiToken MFA. The attribute defaults to enable, and upgrading alone without this configuration change does not satisfy the vendor's prevention instructions. Audit local MFA-enabled accounts, LDAP backends, and 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 16, 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 16, 2026, Mallory has found no public exploit for CVE-2020-12812.
Is there a patch for CVE-2020-12812?
Upgrade to FortiOS 6.0.10, 6.2.4, 6.4.1, or a later applicable fixed release, preferably a currently supported release. In addition to upgrading, manually set username-case-sensitivity to disable in the applicable user-local configurations using remote authentication and FortiToken MFA.
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 16, 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.