1. Archivio CVE
  2. 2023
  3. CVE-2023-38697

CVE-2023-38697

5.3 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N 5.3 – Media

Descrizione

protocol-http1 provides a low-level implementation of the HTTP/1 protocol. RFC 9112 Section 7.1 defined the format of chunk size, chunk data and chunk extension. The value of Content-Length header should be a string of 0-9 digits, the chunk size should be a string of hex digits and should split from chunk data using CRLF, and the chunk extension shouldn't contain any invisible character. However, Falcon has following behaviors while disobey the corresponding RFCs: accepting Content-Length header values that have `+` prefix, accepting Content-Length header values that written in hexadecimal with `0x` prefix, accepting `0x` and `+` prefixed chunk size, and accepting LF in chunk extension. This behavior can lead to desync when forwarding through multiple HTTP parsers, potentially results in HTTP request smuggling and firewall bypassing. This issue is fixed in `protocol-http1` v0.15.1. There are no known workarounds.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
socketry protocol-http1 < 0.15.1 –

Tipo di vulnerabilità

CWE-444 HTTP request smuggling: interpretazione incoerente delle richieste HTTP

Il prodotto fa da intermediario HTTP (proxy, firewall) tra client e server, ma interpreta le richieste o risposte malformate in modo diverso da come le interpreterà la destinazione finale: un attaccante può così far passare richieste nascoste.

Impatto sui sistemi

AmbitoImpatto
Integrità, Non ripudio, Controllo degli accessi Stato imprevisto, Nascondere le proprie attività, Aggirare i meccanismi di protezione

Come si previene

Sviluppo Use a web server that employs a strict HTTP parsing procedure, such as Apache.
Sviluppo Use only SSL communication.
Sviluppo Terminate the client session after each request.
Configurazione del sistema Turn all pages to non-cacheable.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 454 CVE di tipo CWE-444, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org