alert http any any -> $HOME_NET any (
msg:"ET EXPLOIT TP-Link TL-WR840N/TL-WR841N - Authentication Bypass (WiFi Password Change)";
flow:established,to_server;
http.uri;
content:"/cgi?2"; endswith;
http.header;
content:"/mainFrame.htm";
http.request_body;
content:"LAN_WLAN"; fast_pattern;
content:"IEEE11iAuthenticationMode";
content:"IEEE11iEncryptionModes";
content:"X_TP_PreSharedKey=";
content:"X_TP_GroupKeyUpdateInterval";
reference:url,exploit-db.com/exploits/44781/;
classtype:web-application-attack;
sid:2025755; rev:4;
metadata:affected_product TPLINK, created_at 2018_06_26, deployment Perimeter, deployment Internal, deployment Datacenter, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2020_09_16, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)