1. Archivio CVE
  2. 2019
  3. CVE-2019-10639

CVE-2019-10639

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

Descrizione

The Linux kernel 4.x (starting from 4.1) and 5.x before 5.0.8 allows Information Exposure (partial kernel address disclosure), leading to a KASLR bypass. Specifically, it is possible to extract the KASLR kernel image offset using the IP ID values the kernel produces for connection-less protocols (e.g., UDP and ICMP). When such traffic is sent to multiple destination IP addresses, it is possible to obtain hash collisions (of indices to the counter array) and thereby obtain the hashing key (via enumeration). This key contains enough bits from a kernel address (of a static variable) so when the key is extracted (via enumeration), the offset of the kernel image is exposed. This attack can be carried out remotely, by the attacker forcing the target device to send UDP or ICMP (or certain other) traffic to attacker-controlled IP addresses. Forcing a server to send UDP traffic is trivial if the server is a DNS server. ICMP traffic is trivial if the server answers ICMP Echo requests (ping). For client targets, if the target visits the attacker's web page, then WebRTC or gQUIC can be used to force UDP traffic to attacker-controlled IP addresses. NOTE: this attack against KASLR became viable in 4.1 because IP ID generation was changed to have a dependency on an address associated with a network namespace.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 4.1 <= 4.20.9 –
linux linux kernel >= 5.0 < 5.0.8 –
Tutte le 23.632 vulnerabilità di Linux Kernel

Tipo di vulnerabilità

CWE-326 Cifratura di forza inadeguata

Il prodotto conserva o trasmette dati sensibili con uno schema di cifratura corretto in teoria, ma non abbastanza robusto per il livello di protezione richiesto.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi, Riservatezza Aggirare i meccanismi di protezione, Leggere i dati dell’applicazione

Come si previene

Architettura e progettazione Use an encryption scheme that is currently considered to be strong by experts in the field.

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

Tutte le 465 CVE di tipo CWE-326, con andamento e prevenzione

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