Project

General

Profile

Actions

Bug #7843

closed
AI PA

http: dissection anomaly on `Content-Encoding: identity`

Bug #7843: http: dissection anomaly on `Content-Encoding: identity`

Added by A. Iooss 8 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

During an attack-defense CTF, I captured the following exchange between a Python HTTPX client and an ASP.NET server (behing a NGINX reverse-proxy).

GET /demo HTTP/1.1
Host: 10.1.128.1:1729
Accept-Encoding: gzip, deflate
Connection: keep-alive
User-Agent: python-httpx/0.28.1
Accept: text/event-stream
content-type: application/json
Cache-Control: no-store
Authorization: Bearer REDACTED

HTTP/1.1 200 OK
Server: nginx/1.29.0
Date: Sat, 19 Jul 2025 13:09:05 GMT
Content-Type: text/event-stream
Transfer-Encoding: chunked
Connection: keep-alive
Cache-Control: no-cache,no-store
Content-Encoding: identity

REDACTED

Suricata generates the following anomaly:

{"app_proto":"http","type":"applayer","event":"ABNORMAL_CE_HEADER","layer":"proto_parser"}

Maybe `Content-Encoding: identity` should be allowed in Suricata if real-world servers are using it?

Some helpful context: https://github.com/mdn/content/issues/1964


Subtasks 1 (0 open1 closed)

Bug #7862: http: dissection anomaly on `Content-Encoding: identity` (7.0.x backport)ClosedPhilippe AntoineActions

AI Updated by A. Iooss 8 months ago Actions #1

  • Description updated (diff)

VJ Updated by Victor Julien 8 months ago Actions #2

  • Assignee changed from OISF Dev to Philippe Antoine

PA Updated by Philippe Antoine 8 months ago Actions #3

  • Label Needs backport to 7.0 added

PA Updated by Philippe Antoine 8 months ago Actions #4

  • Status changed from New to In Review
  • Target version changed from TBD to 8.0.1

OT Updated by OISF Ticketbot 8 months ago Actions #5

  • Subtask #7862 added

OT Updated by OISF Ticketbot 8 months ago Actions #6

  • Label deleted (Needs backport to 7.0)

PA Updated by Philippe Antoine 8 months ago Actions #7

  • Status changed from In Review to Resolved

PA Updated by Philippe Antoine 7 months ago Actions #8

  • Status changed from Resolved to Closed

VJ Updated by Victor Julien 7 months ago Actions #9

  • Subject changed from HTTP dissection anomaly on `Content-Encoding: identity` to http: dissection anomaly on `Content-Encoding: identity`
Actions

Also available in: PDF Atom