{"id":9472,"date":"2025-12-25T10:03:43","date_gmt":"2025-12-25T10:03:43","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2025\/12\/25\/hackers-exploiting-three-year-old-fortigate-vulnerability-to-bypass-2fa-on-firewalls\/"},"modified":"2025-12-25T10:03:43","modified_gmt":"2025-12-25T10:03:43","slug":"hackers-exploiting-three-year-old-fortigate-vulnerability-to-bypass-2fa-on-firewalls","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2025\/12\/25\/hackers-exploiting-three-year-old-fortigate-vulnerability-to-bypass-2fa-on-firewalls\/","title":{"rendered":"Hackers Exploiting Three-Year-Old FortiGate Vulnerability to Bypass 2FA on Firewalls"},"content":{"rendered":"<p>    Hackers Exploiting Three-Year-Old FortiGate Vulnerability to Bypass 2FA on Firewalls<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<p>Cybercriminals are actively abusing a long-patched Fortinet FortiGate flaw from July 2020, slipping past two-factor authentication (2FA) on firewalls and potentially granting unauthorized access to VPNs and admin consoles.<\/p>\n<p>Fortinet\u2019s PSIRT team detailed the in-the-wild attacks in a recent blog post, urging admins to audit configurations immediately to avoid compromise.<\/p>\n<p>Dubbed FG-IR-19-283 (<a href=\"https:\/\/cybersecuritynews.com\/top-30-most-targeted-vulnerabilities\/\" target=\"_blank\" rel=\"noreferrer noopener\">CVE-2020-12812<\/a>), the issue stems from a mismatch in how FortiGate devices handle usernames compared with LDAP directories. FortiGate treats usernames as case-sensitive by default, while most LDAP servers, like Active Directory, ignore case.<\/p>\n<p>Attackers exploit this in misconfigured setups where local FortiGate users have 2FA enabled and are also members of LDAP groups mapped to authentication policies.<\/p>\n<p>The attack unfolds simply. Suppose a local user \u201cjsmith\u201d has 2FA enabled and linked to an <a href=\"https:\/\/cybersecuritynews.com\/blackmatter-ransomware-that-leverages-smb-ldap-ad\/\" target=\"_blank\" rel=\"noreferrer noopener\">LDAP<\/a> group such as \u201cDomain Users.\u201d Logging in with the exact \u201cjsmith\u201d triggers the token prompt.<\/p>\n<p>But hackers enter \u201cJsmith,\u201d \u201cjSmith,\u201d or any case variation. FortiGate fails to match the local user, then falls back to secondary authentication policies tied to LDAP groups such as \u201cHelpdesk\u201d or \u201cAuth-Group.\u201d Valid LDAP credentials alone suffice, bypassing 2FA entirely.<\/p>\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjZqbBitK-5UTsP_nwAWebiX2xTLj5MKLqX3QrOS5sXo1mIrH9YWtQmLTygzbK9nUcSxdUcqVAm0106K61sL-NlNmgzbqTDlTXhq7hnVW8nCMYDsfW4HrfzekzySSgbVL7zMg9oTNJ7F8T7jkFzcWWeN-Bj-y7zPzE1UlKVaowzqRrr-SCHJ0vjnmorBryI\/s16000\/ldap.webp?ssl=1\" alt=\"\"><\/figure>\n<p>Fortinet confirmed these prerequisites for exploitation:<\/p>\n<ul class=\"wp-block-list\">\n<li>Local FortiGate users with 2FA referencing LDAP.<\/li>\n<li>Those users in LDAP groups configured on FortiGate and used in <a href=\"https:\/\/cybersecuritynews.com\/best-open-source-firewall\/\" target=\"_blank\" rel=\"noreferrer noopener\">firewall<\/a> policies (e.g., for SSL\/IPsec VPN or admin access).<\/li>\n<\/ul>\n<p>This grants attackers VPN entry or elevated privileges without tokens. Fortinet warns that successful bypasses signal compromise: reset all credentials, including LDAP\/AD binding accounts, and scrutinize logs for anomalies like failed local matches followed by LDAP successes.<\/p>\n<p>The vulnerability dates back to 2020, with fixes in FortiOS 6.0.10, 6.2.4, and 6.4.1. Yet, unpatched or misconfigured devices linger in the wild, drawing opportunistic hackers. Fortinet\u2019s analysis shows attackers probing specific setups, likely scanning for outdated firmware.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-mitigations\"><strong>Mitigations<\/strong><\/h2>\n<p>Admins should prioritize these steps:<\/p>\n<ol class=\"wp-block-list\">\n<li>\n<strong>Patch Firmware<\/strong>: Upgrade to FortiOS 6.0.10+, 6.2.4+, or 6.4.1+ to block the failover behavior.<\/li>\n<li>\n<strong>Disable Case Sensitivity<\/strong>: On unpatched systems, run <em>set username-case-sensitivity disable<\/em> (FortiOS 6.0.10\u20136.0.12, etc.) or <em>set username-sensitivity disable<\/em> (v6.0.13+, v6.2.10+, v6.4.7+, v7.0.1+). This normalizes usernames like \u201cjsmith\u201d and \u201cJSMITH.\u201d<\/li>\n<li>\n<strong>Trim LDAP Groups<\/strong>: Remove unnecessary secondary groups from policies. Without them, mismatched logins fail outright.<\/li>\n<li>\n<strong>Audit Logs<\/strong>: Hunt for case-variant attempts in authentication events.<\/li>\n<\/ol>\n<p>Fortinet <a href=\"https:\/\/www.fortinet.com\/blog\/psirt-blogs\/product-security-advisory-and-analysis-observed-abuse-of-fg-ir-19-283\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">emphasizes<\/a> that the absence of LDAP groups eliminates bypass risk for local-only users. This incident underscores a harsh reality: old vulnerabilities thrive on configuration drift.<\/p>\n<p>With FortiGate firewalls shielding critical networks, enterprises must enforce least-privilege policies and regular audits. A delay could enable ransomware or lateral movement. Act now before hackers crack your defenses.<\/p>\n<p class=\"has-text-align-center has-background\" style=\"background:linear-gradient(180deg,rgb(238,238,238) 94%,rgb(169,184,195) 100%)\"><strong>Follow us on <a href=\"https:\/\/news.google.com\/publications\/CAAqMggKIixDQklTR3dnTWFoY0tGV041WW1WeWMyVmpkWEpwZEhsdVpYZHpMbU52YlNnQVAB?hl=en-IN&amp;gl=IN&amp;ceid=IN:en\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Google News<\/a>, <a href=\"https:\/\/www.linkedin.com\/company\/cybersecurity-news\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">LinkedIn<\/a>, and <a href=\"https:\/\/x.com\/cyber_press_org\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">X<\/a> for daily cybersecurity updates. <a href=\"https:\/\/cybersecuritynews.com\/contact-us\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Contact us<\/a> to feature your stories.<\/strong><\/p>\n<p>The post <a href=\"https:\/\/cybersecuritynews.com\/fortigate-firewall-vulnerability\/\">Hackers Exploiting Three-Year-Old FortiGate Vulnerability to Bypass 2FA on Firewalls<\/a> appeared first on <a href=\"https:\/\/cybersecuritynews.com\/\">Cyber Security News<\/a>.<\/p>\n<\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><br \/>\n    Guru Baran<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/cybersecuritynews.com\/fortigate-firewall-vulnerability\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hackers Exploiting Three-Year-Old FortiGate Vulnerability to Bypass 2FA on Firewalls Cybercriminals are actively abusing a long-patched Fortinet FortiGate flaw from July 2020, slipping past two-factor authentication (2FA) on firewalls and potentially granting unauthorized access to VPNs and admin consoles. Fortinet\u2019s PSIRT team detailed the in-the-wild attacks in a recent blog post, urging admins to audit [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,63,648],"tags":[130],"class_list":["post-9472","post","type-post","status-publish","format-standard","hentry","category-cyber-security","category-cyber-security-news","category-vulnerability-news","tag-cyber-security-news"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/9472"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=9472"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/9472\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=9472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=9472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=9472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}