ET WEB_SERVER CRLF Injection - Newline Characters in URL
SID 2017143 · rev 5 · 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 request URI contains "|0D 0A|" (bytes between | | are hexadecimal)
- the request URI matches the regular expression "/[\n\r](?:content-(?:type|length)|set-cookie|location)\x3a/i"
What Emerging Threats says
- Emerging Threats rates it major with medium confidence.
Good to know
- Active in PcapHub's scan set: every uploaded capture is checked against it.
Public captures that trigger it1
- HTTP Header Injection and SSRF Patterns
by trypcaphub · 60 packets · 7mo ago
2 alertsOpen in viewer
Rule
alert http $EXTERNAL_NET any -> $HTTP_SERVERS any (msg:"ET WEB_SERVER CRLF Injection - Newline Characters in URL"; flow:established,to_server; http.uri; content:"|0D 0A|"; fast_pattern; pcre:"/[\n\r](?:content-(?:type|length)|set-cookie|location)\x3a/i"; reference:url,www.owasp.org/index.php/CRLF_Injection; classtype:web-application-attack; sid:2017143; rev:5; metadata:created_at 2013_07_13, confidence Medium, signature_severity Major, updated_at 2020_09_18;)
Emerging Threats Open. Rule created Jul 13, 2013. Last revised by ET Sep 18, 2020. Text on PcapHub refreshed 23d ago.