CVE-2023-48788

CRITICAL(9.8)KEVRansomwareLikely Exploited

Fortinet FortiClient EMS SQL Injection Vulnerability

Description

CVE-2023-48788 is a critical SQL injection vulnerability in Fortinet FortiClient Enterprise Management Server (EMS) that allows unauthenticated remote attackers to execute unauthorized code or commands through specially crafted network packets. With a CVSS v3.1 base score of 9.8, this flaw affects FortiClientEMS versions 7.2.0 through 7.2.2 and 7.0.1 through 7.0.10. CISA added this vulnerability to the Known Exploited Vulnerabilities (KEV) catalog with a remediation deadline of April 15, 2024, and it has a known ransomware association. The EPSS score of 94.17% at the 99.9th percentile confirms massive exploitation activity targeting FortiClient EMS installations worldwide.

KEV Information

Vendor
Fortinet
Product
FortiClient EMS
Date Added
March 25, 2024
Due Date
April 15, 2024
Required Action
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

CVSS Score

Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in Calculator
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
5.9

CWEs

Affected Products

VendorProductVersion
fortinetforticlient enterprise management server>= 7.0.1, < 7.0.11; >= 7.2.0, < 7.2.3

Multiple CVSS Assessments

Source: [email protected](Secondary)
9.8
CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Source: [email protected](Primary)
9.8
CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References

Weakness Type

No specific CWE has been assigned to CVE-2023-48788 by NVD. Based on the vulnerability description, this is a SQL injection vulnerability (typically classified as CWE-89: Improper Neutralization of Special Elements used in an SQL Command). The FortiClient EMS application processes specially crafted network packets that include user-supplied data in SQL queries without proper sanitization or parameterization. This allows an attacker to inject arbitrary SQL statements that are executed by the database engine underlying FortiClient EMS. SQL injection in an endpoint management server is particularly dangerous because the database contains endpoint configuration data, agent deployment information, and potentially credentials used for endpoint management operations. Advanced SQL injection techniques such as stacked queries and xp_cmdshell (if using Microsoft SQL Server) can escalate from database manipulation to operating system command execution.

Impact Analysis

The impact of CVE-2023-48788 is catastrophic across all dimensions of the CIA triad, amplified by FortiClient EMS's central role in enterprise endpoint security management. Confidentiality is fully compromised because the EMS database stores comprehensive endpoint information including device inventories, installed software, security configurations, VPN profiles, user-device associations, and potentially credentials or tokens used for endpoint agent authentication. SQL injection gives the attacker direct access to all database contents, enabling bulk extraction of the entire endpoint management dataset.

Integrity faces maximum impact as the attacker can modify database records to alter endpoint security policies, disable security features on managed endpoints, inject malicious configurations that are pushed to FortiClient agents, create administrative accounts for persistent access, and manipulate compliance reporting. The ability to modify endpoint security configurations through the trusted management channel means the attacker can systematically weaken an organization's endpoint security posture without triggering alerts.

Availability is critically affected because SQL injection can be leveraged to corrupt or delete the EMS database, rendering the endpoint management infrastructure inoperable. Additionally, the progression from SQL injection to operating system command execution (common with database servers) enables the attacker to disrupt server operations, deploy ransomware, or pivot to other network systems. The known ransomware association confirms active ransomware campaigns exploiting this vulnerability. The EPSS score of 94.17% at the 99.9th percentile indicates near-certain exploitation of any exposed instance, placing this among the most dangerous active threats to enterprise endpoint management infrastructure.

Exploit Maturity

CVE-2023-48788 demonstrates maximum exploit maturity with confirmed active exploitation, known ransomware campaigns, and widespread targeting of FortiClient EMS installations. The EPSS score of 94.17% at the 99.9th percentile confirms near-universal exploitation of exposed instances. CISA's KEV listing with an April 15, 2024 deadline and the known ransomware association underscore the critical nature of this threat.

The official Fortinet advisory is available at FortiGuard PSIRT FG-IR-24-007, which provides patch information and version-specific guidance. Fortinet products are among the most heavily targeted security appliances, with multiple FortiGate, FortiOS, and FortiClient vulnerabilities appearing in CISA's KEV catalog. The SQL injection attack vector against FortiClient EMS is particularly valuable to attackers because it targets the management infrastructure that controls endpoint security across the enterprise. The unauthenticated remote exploitation path means that any internet-exposed or insufficiently protected EMS instance is at immediate risk. The combination of trivial exploitation (crafted network packets), critical infrastructure targeting (endpoint management), and known ransomware use makes this one of the highest-priority threats to enterprise security.

Remediation

  1. Upgrade FortiClient EMS immediately to a patched version as specified in the FortiGuard PSIRT advisory FG-IR-24-007. For the 7.2.x branch, upgrade to version 7.2.3 or later. For the 7.0.x branch, upgrade to version 7.0.11 or later. Given the 94.17% EPSS score and known ransomware association, this should be treated as the highest priority patch in any Fortinet environment.

  2. Restrict network access to the FortiClient EMS server as an immediate compensating control. The EMS management interface should not be accessible from the internet or untrusted networks. Implement firewall rules that limit access to the EMS server to authorized administrator workstations and the specific network segments where FortiClient agents are deployed.

  3. Conduct forensic investigation of the EMS server if it was running an affected version while exposed to untrusted networks. Review database logs for suspicious queries, examine Windows Event logs for unusual process execution, check for unauthorized administrative accounts in the EMS console, and inspect outbound network connections for command-and-control communication. SQL injection exploitation often leaves traces in database audit logs and web application logs.

  4. Audit endpoint configurations managed through the EMS to verify that no unauthorized changes were pushed to FortiClient agents. Check that VPN configurations, security policies, endpoint protection settings, and compliance rules have not been tampered with. Compare current endpoint configurations against known-good baselines established before the vulnerability disclosure.

  5. Rotate all credentials and authentication tokens associated with the FortiClient EMS deployment after successful patching. This includes EMS administrator accounts, database service account credentials, Active Directory integration credentials, and any API keys or tokens used for EMS integrations. If the database server was directly compromised, also rotate credentials for other services that share the same database server.

Technical Details

CVE-2023-48788 is a SQL injection vulnerability in Fortinet FortiClient Enterprise Management Server, characterized by the CVSS v3.1 vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. All exploitability metrics are at their most severe values. Attack Vector (AV:N) confirms remote exploitation over the network through specially crafted packets. Attack Complexity (AC:L) means the exploit is reliable and straightforward. Privileges Required (PR:N) indicates no authentication is needed. User Interaction (UI:N) confirms fully automated exploitation. Scope (S:U) remains unchanged within the EMS server context. All impact metrics are High, reflecting complete compromise potential.

The vulnerability is classified as improper neutralization of special elements used in SQL commands. FortiClient EMS processes network packets from FortiClient agents and management interfaces, and incorporates data from these packets into SQL queries against its backend database. The SQL injection occurs because user-supplied data is concatenated directly into SQL query strings rather than being passed through parameterized queries or prepared statements. An attacker can craft network packets containing SQL injection payloads that modify the intended query logic, enabling data extraction through UNION-based or blind SQL injection techniques, data modification through INSERT/UPDATE/DELETE operations, and potentially operating system command execution through database-specific features such as xp_cmdshell (SQL Server) or COPY (PostgreSQL). The affected version ranges are FortiClientEMS 7.2.0 through 7.2.2 and 7.0.1 through 7.0.10, with fixes available in versions 7.2.3 and 7.0.11 respectively. FortiClient EMS is typically deployed on Windows Server systems with a Microsoft SQL Server or SQLite backend database.

Frequently Asked Questions

What is CVE-2023-48788?

CVE-2023-48788 is a critical SQL injection vulnerability in Fortinet FortiClient Enterprise Management Server (EMS) that allows unauthenticated remote attackers to execute unauthorized code or commands. With a CVSS score of 9.8 and a known ransomware association, it represents one of the most critical threats to Fortinet endpoint management infrastructure.

What can an attacker do with SQL injection in FortiClient EMS?

SQL injection in the EMS database allows an attacker to extract all endpoint management data, modify security policies pushed to managed endpoints, create administrative backdoor accounts, and potentially escalate to operating system command execution through database features. This gives the attacker control over the endpoint security posture of the entire organization.

Which FortiClient EMS versions are affected?

FortiClientEMS versions 7.2.0 through 7.2.2 and 7.0.1 through 7.0.10 are affected. Organizations should upgrade to version 7.2.3 or later (for the 7.2.x branch) or 7.0.11 or later (for the 7.0.x branch) as specified in Fortinet's security advisory.

Is this vulnerability associated with ransomware?

Yes, CISA has confirmed a known ransomware association for CVE-2023-48788. Ransomware operators target endpoint management servers because compromising EMS provides access to the management channel for all connected endpoints, enabling widespread ransomware deployment across the managed fleet.

CVSS Score

9.8
CRITICAL(9.8)

EPSS Score

EPSS Score97.59%
EPSS Percentile99.9%

Dates

PublishedMarch 12, 2024
Last ModifiedJune 17, 2026
StatusAnalyzed
CVSS Versionv3.1

Need Help With Vulnerability Management?

Our security experts can help you prioritize and remediate vulnerabilities effectively.