1. Archivio CVE
  2. 2024
  3. CVE-2024-9666

CVE-2024-9666

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

Descrizione

A vulnerability was found in the Keycloak Server. The Keycloak Server is vulnerable to a denial of service (DoS) attack due to improper handling of proxy headers. When Keycloak is configured to accept incoming proxy headers, it may accept non-IP values, such as obfuscated identifiers, without proper validation. This issue can lead to costly DNS resolution operations, which an attacker could exploit to tie up IO threads and potentially cause a denial of service. The attacker must have access to send requests to a Keycloak instance that is configured to accept proxy headers, specifically when reverse proxies do not overwrite incoming headers, and Keycloak is configured to trust these headers.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
– keycloak < 24.0.9 –
– keycloak >= 25.0.0 < 26.0.6 –
redhat build keycloak 24 –
redhat build keycloak 24 –
redhat build keycloak 26.0 –
redhat build keycloak 26.0 –
redhat build keycloak tutte –
redhat jboss enterprise application platform 8 –
Tutte le 24 vulnerabilità di Keycloak

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