Exploit database

Vulnerability

CVE-2023-48788

Vulnerability details

Score
9.3
Severity
critical

CVSS 3.1 · fortinet

Vector string

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

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.

CVE Program

Exploit source choices

4 sources
FortiNet FortiClient Endpoint Management Server FCTID SQLi to RCE
MSF-windows--http--forticlient_ems_fctid_sqliMetasploitWindows / remotePreferred

An SQLi injection vulnerability exists in FortiNet FortiClient EMS (Endpoint Management Server). FortiClient EMS serves as an endpoint management solution tailored for enterprises, offering a centralized platform for overseeing enrolled endpoints. The SQLi is vulnerability is due to user controller strings which can be sent directly into database queries. FcmDaemon.exe is the main service responsible for communicating with enrolled clients. By default it listens on port 8013 and communicates with FCTDas.exe which is responsible for translating requests and sending them to the database. In the message header of a specific request sent between the two services, the FCTUID parameter is vulnerable SQLi. The SQLi can used to enable the xp_cmdshell which can then be used to obtain unauthenticated remote code execution in the context of NT AUTHORITY\SYSTEM Affected versions of FortiClient EMS include: 7.2.0 through 7.2.2 7.0.1 through 7.0.10 Upgrading to either 7.2.3, 7.0.11 or above is recommended by FortiNet. It should be noted that in order to be vulnerable, at least one endpoint needs to be enrolled / managed by FortiClient EMS for the necessary vulnerable services to be available.

2024-04-21forticlient_ems_fctid_sqli.rb
horizon3ai/cve-2023-48788
GH-e271b5c22e843ab29f4481dca86a6cdbGitHubUnofficial GitHub source

Fortinet FortiClient EMS SQL Injection

2024-03-182 files · 54 stars
chalkingcode/exploitedducks
GH-ff522b402f0eaba45e9c70f86eb64638GitHubUnofficial GitHub source

A super simple Cisa KEV lookup CLI tool leveraging DuckDB

2024-07-024 files · 1 stars