alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS TP-Link services-sync dev_name Parameter Command Injection Attempt (CVE-2026-0652)";
flow:established,to_server;
http.method;
content:"POST";
http.uri; bsize:11;
content:"/v1/things/"; startswith;
content:"/services-sync"; endswith;
http.request_body;
content:"|22|requests|22|";
content:"|22|method|22|";
content:"|22|setLedStatus|22|";
content:"|22|params|22|";
content:"|22|tp_manage|22|"; fast_pattern;
content:"|22|dev_name|22|";
pcre:"/^(?:\x3a(?:\x20\x22|\x22))?[^\x2c\x7d$]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R";
reference:url,spaceraccoon.dev/getting-shell-tapo-c260-webcam/;
reference:cve,2026-0652;
classtype:attempted-admin;
sid:2068295; rev:1;
metadata:affected_product TPLINK, attack_target Networking_Equipment, tls_state plaintext, created_at 2026_03_17, cve CVE_2026_0652, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2026_03_17, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)