SQL Injection RCE in Fortinet FortiClient EMS
CVE-2023-48788 is an SQL injection vulnerability in Fortinet FortiClient Enterprise Management Server (EMS), affecting FortiClient EMS 7.2.0 through 7.2.2 and 7.0.1 through 7.0.10. The flaw is described as improper neutralization of special elements used in an SQL command and is reported in the DB2 Administration Server (DAS) component. A remote attacker can send specially crafted packets or requests to a vulnerable FortiClient EMS server and trigger SQL injection that can lead to execution of unauthorized code or commands on the server. Supporting reporting in the provided content indicates exploitation can result in remote code execution on the vulnerable server, including execution with SYSTEM privileges, and that the issue has been observed exploited in the wild.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a proof-of-concept exploit for CVE-2023-48788, a SQL injection vulnerability in Fortinet FortiClient EMS. The main file, CVE-2023-48788.py, is a Python script that connects to a specified FortiClient EMS server over SSL/TCP (default port 8013) and sends a specially crafted registration message containing a SQL injection payload ("' OR 1=1 --"). The script then checks the server's response for the presence of the string 'KA_INTERVAL' to determine if the target is vulnerable. The exploit does not provide post-exploitation capabilities or a shell; it is designed to test for the presence of the vulnerability. The repository also includes a README.md with usage instructions and background information. No hardcoded IPs or domains are present; the target is specified by the user at runtime.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
31 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A FortiClient EMS SQL injection vulnerability previously added to CISA's Known Exploited Vulnerabilities catalog, indicating confirmed exploitation.
A FortiClient EMS SQL injection vulnerability that was added by CISA to the Known Exploited Vulnerabilities catalog.
A critical SQL injection vulnerability in Fortinet FortiClient EMS that is being exploited to deploy remote access tooling.
A specific Fortinet vulnerability referenced as being exploited by Medusa ransomware for stealthy ransomware attacks (details not provided in this content).
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.