CVE-2018-13374 — Fortiadc
MEDIUMCVE-2018-13374 is a medium-severity (CVSS 4.3) CWE-732 vulnerability in fortinet fortiadc. It is in CISA's Known Exploited Vulnerabilities catalog (added 2022-09-08) and has been used in ransomware campaigns — treat it as actively exploited and patch now. A fix is available — see the affected versions and patch details below.
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…
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2022-09-08 — including use in ransomware campaigns. Federal agencies were required to remediate by 2022-09-29.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2018-13374.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2018-13374 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 395,249 CVEs with a current EPSS score, this one falls in the 10–50% band (highlighted). Counts from FIRST.org, log-scaled.
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.
Affected Products
fortiadcfortinetfortiosfortinetResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Fortinet FortiGate FortiOS < 6.0.3 - LDAP Credential Disclosure
by Julio Ureña · Jan 16, 2019
Detection & mitigation playbook
Vendor / applianceDetect
Inventory every fortinet fortiadc deployment and check each version against the affected-products list above.
Fix
Apply the fortinet fortiadc security patch or hotfix for CVE-2018-13374 on the affected version, following the vendor advisory for your exact build.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2018-13374 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.