cbcvebase.
CVE-2023-34993
published 2023-10-10

CVE-2023-34993: A improper neutralization of special elements used in an os command ('os command injection') in Fortinet FortiWLM version 8.6.0 through 8.6.5 and 8.5.0 through…

PriorityP190critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
18.15%
96.8th percentile
A improper neutralization of special elements used in an os command ('os command injection') in Fortinet FortiWLM version 8.6.0 through 8.6.5 and 8.5.0 through 8.5.4 allows attacker to execute unauthorized code or commands via specifically crafted http get request parameters.

Affected

4 ranges
VendorProductVersion rangeFixed in
fortinetfortinet
fortinetfortiwlm
fortinetfortiwlm8.5.0 – 8.5.4
fortinetfortiwlm8.6.0 – 8.6.5

Detection & IOCsextracted from sources · hover to see the quote

url/ems/cgi-bin/ezrf_upgrade_images.cgi?op_type=deleteprogressfile&progressfile=
path/ems/cgi-bin/ezrf_upgrade_images.cgi
snort
alert http $EXTERNAL_NET any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS Fortinet FortiWLM Unauthenticated Command Injection (CVE-2023-34993)"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/ems/cgi-bin/ezrf_upgrade_images.cgi"; fast_pattern; content:"op_type=deleteprogressfile"; content:"progressfile|3d|"; pcre:"/^[^&]*?[\x3b\x0a\x26\x60\x7c\x24]/R"; reference:url,www.horizon3.ai/attack-research/attack-blogs/fortiwlm-the-almost-story-for-the-forti-forty; reference:cve,2023-34993; classtype:web-application-attack; sid:2058405; rev:1; metadata:attack_target Server, tls_state TLSDecrypt, created_at 2024_12_19, cve CVE_2023_34993, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit, updated_at 2024_12_19, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application; target:dest_ip;)
  • Exploit targets HTTP GET requests to /ems/cgi-bin/ezrf_upgrade_images.cgi with op_type=deleteprogressfile; inject OS command characters (;, newline, &, backtick, |, $) in the progressfile parameter.
  • Exploitation is unauthenticated — no prior authentication required; monitor for unexpected outbound curl/HTTP callbacks from the FortiWLM host following requests to the vulnerable CGI endpoint.
  • Shodan/FOFA fingerprinting queries for exposed FortiWLM instances: search for http.title:"FortiWLM", http.html:"fortiwlm", or body="fortiwlm".
  • Proof-of-concept injection payload appends a semicolon followed by a curl command to the progressfile parameter, confirming OOB (out-of-band) command execution via DNS/HTTP callback.
  • Snort/Suricata rule SID 2058405 (ET, created 2024-12-19) detects this exploit in-line; requires TLS decryption (TLSDecrypt) for encrypted traffic inspection.
  • ·The Snort/ET rule (SID 2058405) requires TLS decryption to be effective against HTTPS-wrapped traffic targeting FortiWLM.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vulncheck9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.