CVE DatabaseCVE-2018-13374
한국어 권고문 →
CVE-2018-133744.3/MEDIUMCISA KEVCWE-732CWE-732

Fortinet FortiOS and FortiADC LDAP Credential Exposure Vulnerability (CVE-2018-13374) Analysis and Mitigation Guide

⚡ Jump to Patch
Affected Vendors
fortinet
Affected Components
fortios, fortiadc
Published Date
2019-01-22
CVSS v3.1
4.3
MEDIUM
EPSS (30d)
38.1%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Enterprise network environments running FortiOS 6.0.2, 5.6.7 and before, or FortiADC 6.1.0, 6.0.0 to 6.0.1, 5.4.0 to 5.4.4

Impact

An authenticated attacker can redirect LDAP connectivity test requests to a rogue LDAP server, exposing configured LDAP administrator credentials in plaintext or reversible format

Mitigation

Upgrade FortiOS and FortiADC to the latest patched versions immediately and restrict administrative access using trusted host configurations

Affected Products & Version Scope

FortiOS 6.0.2 and before, 5.6.7 and before / FortiADC 6.1.0, 6.0.0 to 6.0.1, 5.4.0 to 5.4.4

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Apply the official security patches by upgrading your FortiOS/FortiADC firmware to a non-vulnerable version. Verify the current version and perform the upgrade via CLI.

bash
# Check current FortiOS version
get system status

# Example: Upgrade firmware via TFTP server (Recommended to upgrade to FortiOS 6.0.3 or higher)
execute restore image tftp FGT_60-v6-build1639-FORTINET.out 192.168.1.99

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, restrict administrative access to trusted IP addresses to minimize the attack surface.

bash
# Restrict administrator access to trusted subnets only
config system admin
    edit 'admin'
        set trusthost1 10.10.10.0 255.255.255.0
        set trusthost2 192.168.10.0 255.255.255.0
    next
end

3. Log Audit & IoC Verification Commands

Audit system logs for unauthorized LDAP configuration changes or outbound LDAP connections (TCP ports 389/636) to unrecognized external IP addresses.

bash
# Filter and display logs related to LDAP configurations
show log syslog filter
execute log filter category 1
execute log filter field msg 'LDAP'
execute log display
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
NordLayer / Zero-Trust Network Access
As this vulnerability is listed in the CISA KEV catalog, immediate upgrade of FortiOS and FortiADC to patched versions is highly recommended.

Stop Exposing VPN Ports to the Internet — Switch to Zero-Trust Access

Eliminate public-facing VPN concentrators and firewall management ports with identity-first Zero-Trust Network Access.

90% Attack Surface Reduction · Hardware-Free

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2018-13374) stems from improper access control (CWE-732) within the LDAP configuration utility of Fortinet FortiOS and FortiADC. The administrative interface provides an 'LDAP connectivity test' feature to verify communication with the configured directory server. However, a design flaw allows the destination server address parameter to be manipulated without proper validation.

2. Exploitation Mechanics & Attack Scenario

An attacker with low-privileged administrative access can intercept or craft a malicious LDAP connectivity test request. By modifying the target server parameter to point to an attacker-controlled rogue LDAP server, the attacker forces the FortiGate/FortiADC appliance to initiate an LDAP Bind request to the rogue server. During this handshake, the appliance transmits the configured LDAP Bind DN credentials, allowing the attacker to capture them.

3. Infrastructure & Business Impact

Compromising LDAP credentials grants attackers direct access to the organization's Active Directory (AD) or LDAP directory services. This exposure can lead to unauthorized access to sensitive employee data, system accounts, and facilitates lateral movement across the internal corporate network, posing a severe threat to overall business operations.

Official Vendor Advisories & References

NVD Original English Description

A Improper Access Control in Fortinet FortiOS 6.0.2, 5.6.7 and before, FortiADC 6.1.0, 6.0.0 to 6.0.1, 5.4.0 to 5.4.4 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.

Frequently Asked SecOps Questions (CVE-2018-13374)

FAQ

Q1. How critical is CVE-2018-13374 and is it actively exploited in the wild?

CVE-2018-13374 is rated CVSS 4.3 (MEDIUM) with a 30-day EPSS exploitation probability of 38.1%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2018-13374?

Primary impacted vendors include fortinet across fortios, fortiadc. Scope summary: FortiOS 6.0.2 and before, 5.6.7 and before / FortiADC 6.1.0, 6.0.0 to 6.0.1, 5.4.0 to 5.4.4

Q3. What temporary mitigations or workarounds exist for CVE-2018-13374 before patching?

[Mitigation] Upgrade FortiOS and FortiADC to the latest patched versions immediately and restrict administrative access using trusted host configurations Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2018-13374

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (fortinet)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2018-13374 Fortinet FortiOS and FortiADC LDAP Credential Exposure Vulnerability (CVE-2018-13374) Analysis and Mitigation Guide (CVSS 4.3) - Patch & Workaround | CVE Pulse