alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET EXPLOIT OpenTSDB RCE in HTTP Request M2 (CVE-2023-25826)";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"|2f|q|3f|"; fast_pattern; startswith;
content:"start="; distance:0;
content:"&m=";
content:"|3a|"; distance:0;
content:"&o=";
content:"&wxh=";
content:"&style=";
pcre:"/^(?:\x3b|\x0a|\x26|\x60|\x7C|\x24)/UR";
content:"&json"; endswith;
reference:cve,2023-25826;
reference:url,synopsys.com/blogs/software-security/opentsdb.html;
reference:url,opentsdb.net/docs/build/html/user_guide/guis/index.html;
reference:url,packetstormsecurity.com/files/174570/OpenTSDB-2.4.1-Unauthenticated-Command-Injection.html;
classtype:trojan-activity;
sid:2052824; rev:1;
metadata:affected_product OpenTSDB, attack_target Client_Endpoint, tls_state TLSDecrypt, created_at 2024_05_22, cve CVE_2023_25826, deployment Perimeter, confidence Medium, signature_severity Major, updated_at 2024_05_22, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
)