ET WEB_SERVER Exploit Suspected PHP Injection Attack (cmd=)
SID 2010920 · rev 10 · classtype web-application-attack
What this signature means
A web server rule: an attack against, or a suspicious response from, a web server.
Generated from the rule itself: its category, classtype and metadata. Nothing here is guessed.
What it watches
HTTP traffic from an outside host to a web server, in an established connection, from client to server.
It fires when
- the HTTP method contains "GET" (case-insensitive)
- the request URI contains ".php?" (case-insensitive)
- the request URI contains "cmd=" (case-insensitive)
- the request URI matches the regular expression "/[&?]cmd=[^\x26\x28]*(?:cd|\;|echo|cat|perl|curl|wget|id|uname|t?ftp)/i"
What Emerging Threats says
- Emerging Threats rates it major with medium confidence.
- Covers CVE-2002-0953.
Good to know
- Active in PcapHub's scan set: every uploaded capture is checked against it.
Public captures that trigger it2
- PDMFC Dataset: packetcapture em3 20250514160400
by archive · 500,000 packets · 24d ago
66 alertsOpen in viewer - HTTP Credential Stuffing, SQL Injection, Webshell Upload, and Callback
by trypcaphub · 345 packets · 5mo ago
1 alertOpen in viewer
Rule
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;)
Emerging Threats Open. Rule created Jul 30, 2010. Last revised by ET Jan 3, 2024. Text on PcapHub refreshed 7mo ago.