Security Advisory

CVE-2018-13374: FortiOS LDAP Credential Exposure

Last updated:
  • CVE-2018-13374

CVE-2018-13374 is an improper access control flaw in Fortinet FortiOS and FortiADC: a read-only administrator can point the LDAP server connectivity test at a rogue LDAP server and capture the LDAP bind credentials configured on the FortiGate. NVD scores it 4.3, but CISA KEV lists it with known ransomware use. Upgrade to FortiOS 6.0.3 or 6.2.0, or FortiADC 5.4.5, 6.0.2 or 6.1.1.

Vulnerability summary

CVSS base score

4.3

Medium severity

EPSS score (FIRST)

38.1%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2018-13374 · Source: NVD

Affected components

ComponentCPEVersion range
Fortinet FortiOS (FortiGate firmware)cpe:2.3:o:fortinet:fortios:*:*:*:*:*:*:*:*6.0.2 and earlier (NVD CPE: all versions before 6.0.3); fixed in 6.0.3 and 6.2.0
Fortinet FortiADCcpe:2.3:a:fortinet:fortiadc:*:*:*:*:*:*:*:*5.4.0 through 5.4.4 (fixed in 5.4.5); 6.0.0 through 6.0.1 (fixed in 6.0.2); 6.1.0 (fixed in 6.1.1)

What does this mean for affected devices?

NVD describes CVE-2018-13374 as an improper access control in FortiOS 6.0.2, 5.6.7 and before and FortiADC 6.1.0, 6.0.0 to 6.0.1 and 5.4.0 to 5.4.4 that "allows attacker to obtain the LDAP server login credentials configured in FortiGate via pointing a LDAP server connectivity test request to a rogue LDAP server instead of the configured one". NVD's Primary score is CVSS v3.1 4.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N) and NVD CVSS v2 4.0, with CWE-732; Fortinet, the CNA, gives the same 4.3. NVD's CPE configuration covers all FortiOS versions before 6.0.3 (NVD, CVE record).

Which firmware is affected and what is the fix?

Fortinet advisory FG-IR-18-157, "Readonly users able to modify LDAP test connectivity API fields", says read-only admins of FortiGate and FortiADC can redirect the test request. It lists FortiOS 6.0.2 and before and FortiADC 6.1.0, 6.0.1 and 5.4.4 and before, and gives the fixes: FortiOS 6.0.3 or 6.2.0, FortiADC 6.1.1, 6.0.2 or 5.4.5 and above. The flaw is in the GUI, so it needs an administrator login, even a read-only one.

Why does a 4.3 score matter?

What leaks is the LDAP server login configured on the FortiGate, a directory credential rather than data on the firewall alone. CISA added CVE-2018-13374 to the KEV catalog on 2022-09-08 with the required action "Apply updates per vendor instructions." (due 2022-09-29) and known ransomware campaign use "Known"; it is listed as of 2026-11-25 in catalog version 2026.11.24 (CISA KEV). FIRST EPSS gives 0.38088, the 98.58th percentile, in the 2026-11-24 dataset (FIRST EPSS). See KEV and EPSS vulnerability prioritization for ranking a low CVSS score that is exploited.

What else should FortiGate owners check?

Keep the administrative GUI off untrusted networks and limit who holds even read-only admin accounts, as CISA BOD 23-02 on internet-exposed management interfaces describes. A related LDAP weakness, the missing server identity check of CVE-2019-5591, is also on KEV. Fortinet's advisory names no workaround; the fix is the upgrade.

How to fix this class of issueNo dedicated SoftWSP guide covers this weakness class; the fix is usually the vendor patch or firmware update referenced above. Our related guide explains how to plan and verify it: NIST SP 800-40 Rev. 4: enterprise patch management planning, explained.

Evidence

  • NVD (Analyzed): improper access control in FortiOS 6.0.2, 5.6.7 and before, FortiADC 6.1.0, 6.0.0-6.0.1, 5.4.0-5.4.4 lets attacker obtain the LDAP server login credentials configured in FortiGate via a connectivity test to a rogue LDAP server; NVD Primary CVSS v3.1 4.3 PR:L/C:L, NVD CVSS v2 4.0; Fortinet Secondary 4.3; CWE-732; CPE FortiOS < 6.0.3, FortiADC 5.4.0-<5.4.5, 6.0.0-<6.0.2, 6.1.0; published 2019-01-22; read 2026-11-25. — NVD
  • FG-IR-18-157 'Readonly users able to modify LDAP test connectivity API fields': read-only admins of FortiGate and FortiADC can point the LDAP connectivity test to a rogue server; affected FortiOS 6.0.2 and before, FortiADC 6.1.0, 6.0.1, 5.4.4 and before; upgrade to FortiOS 6.0.3 or 6.2.0, FortiADC 6.1.1, 6.0.2, 5.4.5 or above; component GUI; authenticated. — Fortinet PSIRT FG-IR-18-157
  • CVE record PUBLISHED, CNA Fortinet, 2019-01-22; CISA ADP SSVC exploitation active. — CVE.org
  • KEV catalog 2026.11.24: 'Fortinet FortiOS and FortiADC Improper Access Control Vulnerability', dateAdded 2022-09-08, due 2022-09-29, required action 'Apply updates per vendor instructions.', knownRansomwareCampaignUse Known, CWE-732; checked 2026-11-25. — CISA KEV
  • EPSS 0.38088, percentile 0.98580, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Fortinet PSIRT FG-IR-18-157
  3. CVE.org record CVE-2018-13374 (CNA: Fortinet)
  4. CISA KEV
  5. FIRST EPSS

Frequently asked questions

Which versions fix CVE-2018-13374?

FortiOS 6.0.3 or 6.2.0, and FortiADC 5.4.5, 6.0.2 or 6.1.1 and above. Affected are FortiOS 6.0.2 and earlier and FortiADC 5.4.0-5.4.4, 6.0.0-6.0.1 and 6.1.0 (per Fortinet FG-IR-18-157 and NVD).

Does an attacker need a login for CVE-2018-13374?

Yes. Fortinet says the flaw lets read-only administrators change the LDAP connectivity test target in the GUI, so the attacker needs at least a read-only admin account (per FG-IR-18-157; NVD rates privileges required as low).

Why is a 4.3 CVSS flaw on the CISA KEV list?

Because it has been exploited. CISA added it on 2022-09-08 and marks known ransomware use. What leaks is the LDAP server login configured on the FortiGate (per CISA KEV and Fortinet FG-IR-18-157).

Is there a workaround for CVE-2018-13374?

Fortinet's advisory names no workaround; it lists only the fixed FortiOS and FortiADC releases. FIRST EPSS gives 0.38088 (98.58th percentile) in the 2026-11-24 dataset, as of 2026-11-25 (per FG-IR-18-157 and FIRST EPSS).