alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS YETI Platform Server-Side Template Injection (CVE-2024-45607)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/api/v2/templates/"; fast_pattern;
http.cookie;
content:"yeti_session|3d|eyJ";
http.request_body;
content:"|22|template|22 3a|";
content:"|7b 25|"; distance:0;
pcre:"/^[^\x2e]*?(?:\x2e\x5f{1,2}\w+)+[\x28\x5b]/R";
reference:url,github.com/RhinoSecurityLabs/CVEs/tree/master/CVE-2024-46507;
reference:cve,2024-45607;
classtype:web-application-attack;
sid:2059842; rev:1;
metadata:attack_target Server, tls_state TLSDecrypt, created_at 2025_02_03, cve CVE_2024_45607, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit, updated_at 2025_02_03, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)