alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Totolink setWiFiEasyCfg ssid/ssid5g Parameter Buffer Overflow Attempt (CVE-2026-1157, CVE-2025-45842)";
flow:established,to_server;
http.method;
content:"POST";
http.uri; bsize:20;
content:"/cgi-bin/cstecgi.cgi";
http.request_body;
content:"|22|topicurl|22|";
content:"|22|setWiFiEasyCfg|22|"; fast_pattern; within:21;
content:"|22|ssid";
pcre:"/^(?:5g)?\x22(?:\x3a(?:\x20\x22|\x22))?[^\x2c\x7d$]{100,}(?:\x2c|\x7d|$)/R";
reference:url,www.cve.org/CVERecord/SearchResults?query=setWiFiEasyCfg;
reference:cve,2026-1157;
reference:cve,2025-45842;
classtype:web-application-attack;
sid:2068930; rev:1;
metadata:affected_product TOTOLINK, attack_target Networking_Equipment, tls_state plaintext, created_at 2026_04_22, cve CVE_2026_1157_CVE_2025_45842, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2026_04_22, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)