{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2023-48788 in the wild since at least 25 Mar 2024, including in ransomware campaigns.","fix":"No fix has been published for CVE-2023-48788 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 15 Apr 2024.","what":"CVE-2023-48788 is a critical SQL injection vulnerability in Fortinet FortiClientEMS, published on 12 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-48788 and fix it if it is affected.\n\nWhat it is: CVE-2023-48788 is a critical SQL injection vulnerability in Fortinet FortiClientEMS, published on 12 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2023-48788 in the wild since at least 25 Mar 2024, including in ransomware campaigns.\n\nAffected product: Fortinet FortiClientEMS. 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-2023-48788/ (Markdown: https://insights.sbomify.com/CVE-2023-48788/index.md)","id":"CVE-2023-48788","markdown":"https://insights.sbomify.com/CVE-2023-48788/index.md","name":"CVE-2023-48788","record":{"aliases":["GHSA-fv47-jg3j-5qf6"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"FortiClient EMS","requires_auth":"none","summary":"An attacker can execute unauthorized code or commands via specially crafted packets due to SQL injection in FortiClient EMS.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"fortinet","cpe":[{"product":"forticlient_enterprise_management_server","vendor":"fortinet"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:U/RC:C","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"A improper neutralization of special elements used in an sql command ('sql injection') in Fortinet FortiClientEMS version 7.2.0 through 7.2.2, FortiClientEMS 7.0.1 through 7.0.10 allows attacker to execute unauthorized code or commands via specially crafted packets.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2024-03-18","github_poc":1,"max_poc_stars":54,"metasploit":1,"nuclei":1,"refs":[{"date":"2024-03-18T20:50:48Z","kind":"github_poc","ref":"https://github.com/horizon3ai/CVE-2023-48788","stars":54,"title":"Fortinet FortiClient EMS SQL Injection"},{"date":"2024-04-21","kind":"metasploit","ref":"exploit/windows/http/forticlient_ems_fctid_sqli","stars":null,"title":"FortiNet FortiClient Endpoint Management Server FCTID SQLi to RCE"},{"date":null,"kind":"nuclei","ref":"network/cves/2023/CVE-2023-48788.yaml","stars":null,"title":"Fortinet Forticlient Endpoint Management Server - SQL Injection"}],"tier":"exploited"},"has_fix":null,"headline":"Fortinet FortiClient EMS SQL Injection","id":"CVE-2023-48788","indexable":true,"kev":{"dateAdded":"2024-03-25","dueDate":"2024-04-15","knownRansomwareCampaignUse":"Known","product":"FortiClient EMS","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","vendorProject":"Fortinet","vulnerabilityName":"Fortinet FortiClient EMS SQL Injection Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Missing authorization in FortiPortal","id":"CVE-2023-48789"},"packages":[],"prev":{"headline":"Server-side request forgery in FortiClientEMS","id":"CVE-2023-48786"},"products":["FortiClientEMS"],"published":"2024-03-12","related":[{"cvss_score":7.9,"headline":"Privilege escalation in FortiClientEMS","id":"CVE-2023-45581","kev_date_added":null,"published":"2024-02-15"},{"cvss_score":6.9,"headline":"Command injection in FortiClientEMS","id":"CVE-2024-33508","kev_date_added":null,"published":"2024-09-10"},{"cvss_score":6.8,"headline":"Information disclosure in Fortinet FortiClientEMS","id":"CVE-2021-36189","kev_date_added":null,"published":"2021-12-09"},{"cvss_score":5.4,"headline":"Auth bypass in Fortinet FortiClientEMS","id":"CVE-2021-41030","kev_date_added":null,"published":"2021-12-08"},{"cvss_score":4.1,"headline":"Cross-site scripting in Fortinet FortiClientEMS","id":"CVE-2020-15940","kev_date_added":null,"published":"2021-11-02"}],"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":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["Fortinet"]},"summary":"An attacker can execute unauthorized code or commands via specially crafted packets due to SQL injection in FortiClient EMS.","url":"https://insights.sbomify.com/CVE-2023-48788/"}