alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Fortinet FortiWLM Authenticated Command Injection (CVE-2023-48782)";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"/ems/cgi-bin/ezrf_switches.cgi"; fast_pattern;
content:"op_type=addSwitche";
content:"Hostname|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-48782;
classtype:web-application-attack;
sid:2058407; rev:1;
metadata:affected_product FortiWLM, attack_target Server, tls_state TLSDecrypt, created_at 2024_12_19, cve CVE_2023_48782, 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;
)