alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS D-Link DIR-823G Multiple HNAP SOAPAction Endpoints Authentication Bypass";
flow:established,to_server;
http.method;
content:"POST";
http.uri; bsize:7;
content:"/HNAP1/";
http.header;
content:"SOAPAction|3a 20 22|http|3a 2f 2f|purenetworks.com/HNAP1/Get"; fast_pattern;
pcre:"/^(?:GuestNetworkSettings|LocalMacAddress|RouterInformationSettings|RouterLanSettings)/R";
http.header_names;
content:!"|0d 0a|cookie|0d 0a|"; nocase;
http.request_body;
content:"|3c|Get";
pcre:"/^(?:GuestNetworkSettings|LocalMacAddress|RouterInformationSettings|RouterLanSettings)\x20/R";
reference:url,lavender-bicycle-a5a.notion.site/CVE-1ab53a41781f804898a0effa45d0f15d;
classtype:web-application-attack;
sid:2061623; rev:1;
metadata:affected_product D_Link, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_04_16, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2025_04_16, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)