CVE-2018-13374: Fortinet FortiOS and FortiADC Improper Access Control Vulnerability
CVE-2018-13374 is a medium-severity flaw (CVSS 4.3) affecting fortiadc, fortios, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Used in ransomware campaigns
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 38.1% (top 1%) |
| CISA exploited list | Yes, fix due 2022-09-29, used in ransomware |
| Weakness | CWE-732 |
| Published | 2019-01-22 |
| Last modified | 2026-10-01 |
Last updated 2026-10-01 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: Justjeff211/conti-ransomware-writeup (0 stars)
- Write-up: fortiguard.com/advisory/FG-IR-18-157
- Exploit-DB: Fortinet FortiGate FortiOS < 6.0.3 - LDAP Credential Disclosure
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-13374?
fortiadc: upgrade to 5.4.5, 6.0.2; fortios: upgrade to 6.0.3. Exact commands for each OS are on this page.
Is CVE-2018-13374 being exploited?
Yes. CVE-2018-13374 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2018-13374 affect?
CVE-2018-13374 affects fortiadc, fortios. Severity is medium (CVSS 4.3). 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 connectivit
How urgent is CVE-2018-13374?
Priority 75/100. EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference
Software pages
Fortinet FortiOS vulnerabilities · Fortinet vulnerabilities
Related CVEs
- CVE-2025-48839 MEDIUM 6.6 UPGRADE An Out-of-bounds Write vulnerability [CWE-787] in FortiADC 8.0.0, 7.6.0 through 7.6.2, 7.4.0 through 7.4.7, 7.
- CVE-2025-54971 MEDIUM 4.3 UPGRADE An exposure of sensitive information to an unauthorized actor vulnerability in Fortinet FortiADC 7.4.0, FortiA
- CVE-2025-58412 MEDIUM 4.7 UPGRADE A improper neutralization of script-related html tags in a web page (basic xss) vulnerability in Fortinet Fort
- CVE-2025-59921 MEDIUM 6.5 UPGRADE An exposure of sensitive information to an unauthorized actor vulnerability [CWE-200] in Fortinet FortiADC ver
- CVE-2025-31104 HIGH 7.2 UPGRADE A improper neutralization of special elements used in an os command ('os command injection') vulnerability in