alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS D-Link SetWLanRadioSecurity Key Parameter Command Injection Attempt (CVE-2024-48634)";
flow:established,to_server;
http.method;
content:"POST";
http.uri; bsize:6;
content:"/HNAP1";
http.request_body;
content:"|3c 3f|xml|20|version|3d 22|1.0|22|";
content:"|3c|SetWLanRadioSecurity"; fast_pattern;
content:"|3c|Key|3e|";
pcre:"/^[^\x3e]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R";
reference:cve,2024-48634;
classtype:attempted-admin;
sid:2065142; rev:1;
metadata:affected_product D_Link, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_10_10, cve CVE_2024_48634, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2025_10_10, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)