alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Zyxel Command Injection Attempt (CVE-2024-4474) M6";
flow:established,to_server;
http.uri;
content:"/cmd,/ck6fup6/time_machine_main/setTimeMachineStatus"; fast_pattern; startswith;
pcre:"/(?:target_share|share_name)\x3d.*\x3b/R";
reference:url,bugprove.com/knowledge-hub/cve-2023-4473-and-cve-2023-4474-authentication-bypass-and-multiple-blind-os-command-injection-vulnerabilities-in-zyxel-s-nas-326-devices/;
reference:cve,2023-4474;
reference:cve,2024-4474;
classtype:attempted-admin;
sid:2052367; rev:1;
metadata:affected_product Zyxel, attack_target Networking_Equipment, tls_state plaintext, created_at 2024_05_02, cve CVE_2024_4474, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, updated_at 2024_05_02, mitre_tactic_id TA0008, mitre_tactic_name Lateral_Movement, mitre_technique_id T1210, mitre_technique_name Exploitation_Of_Remote_Services;
target:dest_ip;
)