High severityET WEB SERVERActive in PcapHub scans

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

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.