ET WEB_SERVER Exploit Suspected PHP Injection Attack (cmd=)


Query · suricata

flow:established,to_server;
http.method;
content:"GET"; nocase;
http.uri;
content:".php?"; nocase;
content:"cmd="; fast_pattern; nocase;
pcre:"/[&?]cmd=[^\x26\x28]*(?:cd|\;|echo|cat|perl|curl|wget|id|uname|t?ftp)/i";
Raw source ET WEB_SERVER Exploit Suspected PHP Injection Attack (cmd=) · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert http $EXTERNAL_NET any -> $HTTP_SERVERS any (
    msg:"ET WEB_SERVER Exploit Suspected PHP Injection Attack (cmd=)";
    flow:established,to_server;
    http.method;
    content:"GET"; nocase;
    http.uri;
    content:".php?"; nocase;
    content:"cmd="; fast_pattern; nocase;
    pcre:"/[&?]cmd=[^\x26\x28]*(?:cd|\;|echo|cat|perl|curl|wget|id|uname|t?ftp)/i";
    reference:cve,2002-0953;
    classtype:web-application-attack;
    sid:2010920; rev:10;
    metadata:created_at 2010_07_30, cve CVE_2002_0953, confidence Medium, signature_severity Major, updated_at 2024_01_03;
)

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.