ET HUNTING XML External Entity Injection Inbound M2


Query · suricata

flow:established,to_server;
http.method;
content:"PUT";
http.request_body;
content:"ENTITY"; fast_pattern;
pcre:"/^\x20*?(?:\x26\x23(?:x25|37)\x3b|\x25|\x26percnt\x3b)?\x20*?(?P<name>[a-zA-Z]+)\x20*?[A-Z]+\x20*?(?:[\x22\x27]|\x2bACI\x2d|\x26quot\x3b)[^\x22]*?(?:[\x22\x27]|\x2bACI|\x26quot\x3b).*?[\x25\x26](?P=name)/Rs";
target:dest_ip;
Raw source ET HUNTING XML External Entity Injection Inbound M2 · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert http any any -> [$HOME_NET,$HTTP_SERVERS] any (
    msg:"ET HUNTING XML External Entity Injection Inbound M2";
    flow:established,to_server;
    http.method;
    content:"PUT";
    http.request_body;
    content:"ENTITY"; fast_pattern;
    pcre:"/^\x20*?(?:\x26\x23(?:x25|37)\x3b|\x25|\x26percnt\x3b)?\x20*?(?P<name>[a-zA-Z]+)\x20*?[A-Z]+\x20*?(?:[\x22\x27]|\x2bACI\x2d|\x26quot\x3b)[^\x22]*?(?:[\x22\x27]|\x2bACI|\x26quot\x3b).*?[\x25\x26](?P=name)/Rs";
    classtype:unknown;
    sid:2066045; rev:1;
    metadata:attack_target Server, tls_state TLSDecrypt, created_at 2025_12_05, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence Medium, signature_severity Major, updated_at 2025_12_05;
    target:dest_ip;
)

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.