1. Archivio CVE
  2. 2022
  3. CVE-2022-2880

CVE-2022-2880

7.5 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N 7.5 – Alta

Descrizione

Requests forwarded by ReverseProxy include the raw query parameters from the inbound request, including unparsable parameters rejected by net/http. This could permit query parameter smuggling when a Go proxy forwards a parameter with an unparsable value. After fix, ReverseProxy sanitizes the query parameters in the forwarded query when the outbound request's Form field is set after the ReverseProxy. Director function returns, indicating that the proxy has parsed the query parameters. Proxies which do not parse query parameters continue to forward the original query parameters unchanged.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
golang go < 1.18.7 –
golang go >= 1.19.0 < 1.19.2 –
Tutte le 171 vulnerabilità di Golang Go

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