Medium severityET WEB SERVERActive in PcapHub scans

ET WEB_SERVER SQL Errors in HTTP 200 Response (mysql_query)

SID 2016668 · rev 4 · classtype bad-unknown

What this signature means

An HTTP 200 response whose body contains a MySQL error message of the mysql_query family. The web application leaked a database error to the client, which is what a SQL injection probe looks for: the attacker sends malformed input and reads the error to learn about the query. Look at the request that produced it.

A web server rule: an attack against, or a suspicious response from, a web server. Traffic that is potentially bad but not tied to a specific known threat. Worth a look, often benign.

Written by the PcapHub team.

What it watches

HTTP traffic from a web server to an outside host, in an established connection, from server to client.

It fires when

  • the HTTP status code contains "200"
  • the transferred file contents contains "mysql_query"

What Emerging Threats says

  • Emerging Threats rates it minor with medium confidence.

Good to know

  • Active in PcapHub's scan set: every uploaded capture is checked against it.

Public captures that trigger it14

Rule

alert http $HTTP_SERVERS any -> $EXTERNAL_NET any (msg:"ET WEB_SERVER SQL Errors in HTTP 200 Response (mysql_query)"; flow:established,to_client; http.stat_code; content:"200"; file.data; content:"mysql_query"; classtype:bad-unknown; sid:2016668; rev:4; metadata:created_at 2013_03_27, confidence Medium, signature_severity Minor, updated_at 2024_03_06;)

Emerging Threats Open. Rule created Mar 27, 2013. Last revised by ET Mar 6, 2024. Text on PcapHub refreshed 23d ago.