{"answers":{"affected":"It affects 2 products.","exploited":"Yes. Attackers have exploited CVE-2018-13374 in the wild since at least 8 Sep 2022, including in ransomware campaigns.","fix":"No fix has been published for CVE-2018-13374 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 29 Sep 2022.","what":"CVE-2018-13374 is a medium-severity vulnerability in Fortinet Fortios, published on 22 Jan 2019. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-13374 and fix it if it is affected.\n\nWhat it is: CVE-2018-13374 is a medium-severity vulnerability in Fortinet Fortios, published on 22 Jan 2019. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2018-13374 in the wild since at least 8 Sep 2022, including in ransomware campaigns.\n\nAffected product: Fortinet Fortios. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-13374/ (Markdown: https://insights.sbomify.com/CVE-2018-13374/index.md)","id":"CVE-2018-13374","markdown":"https://insights.sbomify.com/CVE-2018-13374/index.md","name":"CVE-2018-13374","record":{"aliases":["GHSA-rpmq-q4mw-pc44"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Fortinet FortiOS","requires_auth":"low_privilege","summary":"An attacker can steal LDAP credentials by redirecting connectivity tests to a rogue server, exposing sensitive configuration data.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"fortinet","cpe":[{"product":"fortiadc","vendor":"fortinet"},{"product":"fortios","vendor":"fortinet"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"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.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2019-01-16","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2019-01-16","kind":"exploitdb","ref":"46171","stars":null,"title":"Fortinet FortiGate FortiOS \u003c 6.0.3 - LDAP Credential Disclosure"},{"date":"2026-03-27T09:09:10Z","kind":"github_poc","ref":"https://github.com/Justjeff211/conti-ransomware-writeup","stars":0,"title":"Conducted a full SOC investigation into a Conti ransomware compromise of an Exchange server using Splunk 8.2.2. Analysed 28,145 events across Windows Security, Sysmon, and IIS log sources to reconstruct the complete attack chain. Identified three exploited CVEs (CVE-2020-0796, CVE-2018-13374, CVE-2018-13379), located a trojanised cmd.exe "}],"tier":"exploited"},"has_fix":null,"headline":"Fortinet FortiOS and FortiADC Improper Access Control","id":"CVE-2018-13374","indexable":true,"kev":{"dateAdded":"2022-09-08","dueDate":"2022-09-29","knownRansomwareCampaignUse":"Known","product":"FortiOS and FortiADC","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Fortinet","vulnerabilityName":"Fortinet FortiOS and FortiADC Improper Access Control Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"fortinet:fortios","products":["fortinet:fortios"],"type":"information_disclosure","year":"2018"},"n_packages":0,"n_references":1,"next":{"headline":"Cross-site scripting in FortiAnalyzer","id":"CVE-2018-13375"},"packages":[],"prev":{"headline":"Not used","id":"CVE-2018-13372"},"products":["Fortinet FortiOS, fortiADC"],"published":"2019-01-22","related":[{"cvss_score":8.8,"headline":"Cross-site scripting in Fortinet FortiADC","id":"CVE-2022-38374","kev_date_added":null,"published":"2022-11-02"},{"cvss_score":8.6,"headline":"Cross-site scripting in FortiADC","id":"CVE-2023-37933","kev_date_added":null,"published":"2025-03-11"},{"cvss_score":8.6,"headline":"Command injection in FortiADC","id":"CVE-2022-39947","kev_date_added":null,"published":"2023-01-03"},{"cvss_score":8,"headline":"Cross-site scripting in Fortinet FortiADC","id":"CVE-2022-35851","kev_date_added":null,"published":"2022-11-02"},{"cvss_score":7.9,"headline":"Privilege escalation in FortiADC","id":"CVE-2023-26205","kev_date_added":null,"published":"2023-11-14"},{"cvss_score":7.8,"headline":"Command injection in FortiADC","id":"CVE-2023-26210","kev_date_added":null,"published":"2023-06-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-01","vendors":["Fortinet"]},"summary":"An attacker can steal LDAP credentials by redirecting connectivity tests to a rogue server, exposing sensitive configuration data.","url":"https://insights.sbomify.com/CVE-2018-13374/"}