alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS vBulletin replaceAdTemplate Pre-Auth RCE (CVE-2025-48828 & CVE-2025-48827)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/ajax/api/ad/replaceAdTemplate"; fast_pattern;
http.request_body;
content:"template|3d|";
pcre:"/^[^\x26]*?(?:\x3c|\x253[cC])vb(?:\x3a|\x253[aA])if(?:\x20|\x2520)condition\x3d/R";
reference:url,karmainsecurity.com/dont-call-that-protected-method-vbulletin-rce;
reference:cve,2025-48828;
reference:cve,2025-48827;
classtype:web-application-attack;
sid:2062621; rev:1;
metadata:affected_product vBulletin, attack_target Server, created_at 2025_05_29, cve CVE_2025_48828_CVE_2025_48827, deployment Perimeter, deployment Internal, confidence Medium, signature_severity Critical, tag Exploit, updated_at 2025_05_29, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)