CVE-2018-13374: LDAP Credential Disclosure via Improper Access Control in Fortinet FortiOS and FortiADC
- Vendor
- Fortinet
CVE-2018-13374 is an improper access control vulnerability in the FortiGate and FortiADC administrative GUI's LDAP connectivity-test functionality. An authenticated read-only administrator can modify connectivity-test API fields to direct a test to an attacker-controlled LDAP server instead of the configured server. This causes the appliance to disclose configured LDAP login credentials to the attacker, exceeding the administrator's intended read-only permissions. Affected versions include FortiOS 6.0.2, 5.6.7 and earlier affected releases, and FortiADC 6.1.0, 6.0.0–6.0.1, and 5.4.0–5.4.4.
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.
An authenticated read-only administrator can obtain credentials used by the appliance to authenticate to LDAP. Disclosure compromises the LDAP account and may enable unauthorized directory access or further compromise, depending on that account's privileges and where its credentials are accepted. The vulnerability does not itself establish arbitrary code execution or domain administrator access.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the LDAP connectivity-test API to trusted administrators. Limit appliance network connectivity to trusted LDAP servers to prevent test requests from reaching attacker-controlled destinations. Monitor and audit API usage for suspicious LDAP connectivity tests or destination changes.
Remediation
Patch, then assume compromise.
Upgrade to a supported release containing the fix. Fortinet identified FortiOS 6.0.3 and 6.2.0 as fixed upgrade targets. For FortiADC, upgrade to 6.1.1 or later in the 6.1 branch, 6.0.2 or later in the 6.0 branch, or 5.4.5 or later in the 5.4 branch.
Exploits
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.
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.
Frequently asked questions
- Is CVE-2018-13374 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 Sep 8, 2022.
- Is there a public exploit for CVE-2018-13374?
- As of Nov 16, 2026, Mallory has not confirmed a public exploit for CVE-2018-13374. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2018-13374?
- Upgrade to a supported release containing the fix. Fortinet identified FortiOS 6.0.3 and 6.2.0 as fixed upgrade targets.
- What products are affected by CVE-2018-13374?
- Fortinet Fortiadc and Fortinet Fortios.
- How severe is CVE-2018-13374?
- CVE-2018-13374 has a CVSS v3.1 score of 4.3 (Medium) and an EPSS score of 38.1% (99th percentile) as of Nov 16, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.