alert http any any -> $HTTP_SERVERS any (
msg:"ET WEB_CLIENT Possible Confluence SSTI Exploitation Attempt - Leads to RCE/LFI (CVE-2019-3396)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/rest/tinymce/1/macro/preview"; fast_pattern; endswith;
http.request_body;
content:"|22|contentId|22|"; depth:20;
content:"|22|_template|22 3a|"; distance:0;
reference:url,packetstormsecurity.com/files/152568/Atlassian-Confluence-Widget-Connector-Macro-Velocity-Template-Injection.html;
classtype:attempted-admin;
sid:2027333; rev:4;
metadata:created_at 2019_05_08, cve CVE_2019_3396, deployment Perimeter, deployment Internal, performance_impact Low, confidence Medium, signature_severity Major, tag CISA_KEV, updated_at 2020_09_17;
)