ZeroHour

CVE-2019-5591

KEV ransomwarelarge

Default-Configuration LDAP Impersonation in Fortinet FortiOS

CISA: Fortinet FortiOS Default Configuration Vulnerability

CVSS 3.1
6.5 medium
EPSS
18%p97
Published
()
KEV added
AI analysis

CVE-2019-5591 is a default-configuration flaw in Fortinet FortiOS (CWE-306, missing authentication for a critical function): when a FortiGate acts as an LDAP client over SSL/TLS for authentication purposes, the default configuration does not properly authenticate the LDAP server, allowing an unauthenticated attacker on the same subnet to impersonate the LDAP server. The attack requires adjacency (the attacker must be on the same network segment as the device's LDAP traffic) and only works where the device uses LDAP over TLS with the default, non-validating settings. A successful attacker can intercept sensitive authentication information, such as usernames and passwords, exchanged with the LDAP server, with high confidentiality impact but no integrity or availability impact per the CVSS score. Organizations running affected FortiOS releases with LDAP-over-TLS configured are exposed; FortiOS runs on one of the largest firewall/VPN installed bases, though the source data does not state exact affected version ranges or deployment counts. The flaw is listed in CISA's Known Exploited Vulnerabilities catalog (added 2021-11-03) with known in-the-wild and ransomware use; late-2021 CISA and FBI advisories warned that APT actors were exploiting Fortinet bugs, including this one, for initial access, and no public PoC is known.

What to do: Upgrade affected FortiGate/FortiOS units to a fixed release (6.2.1+, 6.0.8+, 5.6.10+, or 5.4.12+) per Fortinet's instructions, as required by CISA's KEV listing. If patching is delayed, disable the use of SSL/TLS in the LDAP server configuration or restrict and monitor the network path between the FortiGate and the LDAP server. Inventory which devices use LDAPS for authentication and review authentication logs for signs of server impersonation or credential theft.

Affected
Fortinet FortiOSFortiOS 6.2.0; 6.0.0-6.0.7; 5.6.0-5.6.9; 5.4.0-5.4.11 (fixed in 6.2.1, 6.0.8, 5.6.10 and 5.4.12, per the Fortinet PSIRT advisory; CISA data confirms FortiOS as
Estimated exposure
largetens of thousands of FortiGate deployments plausibly affected (a subset of a very large FortiOS installed base that connects to LDAP over TLS) — FortiOS runs on one of the most widely deployed firewall/VPN appliance bases (hundreds of thousands of internet-exposed FortiGate endpoints seen in public scans), but only sites whose devices use LDAP over TLS with the default…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

A Default Configuration vulnerability in FortiOS may allow an unauthenticated attacker on the same subnet to intercept sensitive information by impersonating the LDAP server.

CISA Known Exploited Vulnerability
Affected
Fortinet FortiOS
Required action
Apply updates per vendor instructions.
Due date
Ransomware use
Known
Vendors
fortinet
Products
fortios
Weakness
CWE-306
Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

In the news