CVE-2019-10639
Linux Kernel KASLR Bypass Through IP ID Values Disclosure
Description
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.
INFO
Published Date :
July 5, 2019, 11:15 p.m.
Last Modified :
Nov. 21, 2024, 4:19 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2019-10639 has a 2 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2019-10639
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Map Vulnerabilities into Different Layers of the Container Image
Python
Kernel Address Space Layout Derandomization (KASLD) - A collection of various techniques to infer the Linux kernel base virtual address as an unprivileged local user, for the purpose of bypassing Kernel Address Space Layout Randomization (KASLR).
kaslr linux linux-kernel linux-kaslr kernel-exploit kernel
C Shell Makefile
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2019-10639
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2019-10639
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00014.html Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00025.html Added Reference https://arxiv.org/pdf/1906.10478.pdf Added Reference https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.0.8 Added Reference https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=355b98553789b646ed97ad801a619ff898471b92 Added Reference https://github.com/torvalds/linux/commit/355b98553789b646ed97ad801a619ff898471b92 Added Reference https://lists.debian.org/debian-lts-announce/2019/07/msg00022.html Added Reference https://lists.debian.org/debian-lts-announce/2019/08/msg00017.html Added Reference https://seclists.org/bugtraq/2019/Aug/18 Added Reference https://security.netapp.com/advisory/ntap-20190806-0001/ Added Reference https://support.f5.com/csp/article/K32804955 Added Reference https://support.f5.com/csp/article/K32804955?utm_source=f5support&%3Butm_medium=RSS Added Reference https://usn.ubuntu.com/4115-1/ Added Reference https://usn.ubuntu.com/4118-1/ Added Reference https://www.debian.org/security/2019/dsa-4497 Added Reference https://www.oracle.com/security-alerts/cpuApr2021.html -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference MITRE https://support.f5.com/csp/article/K32804955?utm_source=f5support&%3Butm_medium=RSS [No types assigned] Removed Reference MITRE https://support.f5.com/csp/article/K32804955?utm_source=f5support&utm_medium=RSS -
CVE Modified by [email protected]
Jun. 14, 2021
Action Type Old Value New Value Added Reference https://www.oracle.com/security-alerts/cpuApr2021.html [No Types Assigned] -
CWE Remap by [email protected]
Aug. 24, 2020
Action Type Old Value New Value Changed CWE CWE-200 CWE-326 -
CVE Modified by [email protected]
Oct. 09, 2019
Action Type Old Value New Value Added Reference https://support.f5.com/csp/article/K32804955?utm_source=f5support&utm_medium=RSS [No Types Assigned] -
CVE Modified by [email protected]
Sep. 03, 2019
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/4115-1/ [No Types Assigned] Added Reference https://usn.ubuntu.com/4118-1/ [No Types Assigned] -
CVE Modified by [email protected]
Aug. 30, 2019
Action Type Old Value New Value Added Reference https://support.f5.com/csp/article/K32804955 [No Types Assigned] -
CVE Modified by [email protected]
Aug. 14, 2019
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2019/08/msg00017.html [No Types Assigned] -
CVE Modified by [email protected]
Aug. 13, 2019
Action Type Old Value New Value Added Reference https://www.debian.org/security/2019/dsa-4497 [No Types Assigned] Added Reference https://seclists.org/bugtraq/2019/Aug/18 [No Types Assigned] -
CVE Modified by [email protected]
Aug. 06, 2019
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20190806-0001/ [No Types Assigned] -
CVE Modified by [email protected]
Jul. 23, 2019
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2019/07/msg00022.html [No Types Assigned] -
CVE Modified by [email protected]
Jul. 20, 2019
Action Type Old Value New Value Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00025.html [No Types Assigned] -
CVE Modified by [email protected]
Jul. 19, 2019
Action Type Old Value New Value Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00014.html [No Types Assigned] -
Initial Analysis by [email protected]
Jul. 17, 2019
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:N/A:N) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://arxiv.org/pdf/1906.10478.pdf No Types Assigned https://arxiv.org/pdf/1906.10478.pdf Third Party Advisory Changed Reference Type https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.0.8 No Types Assigned https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.0.8 Mailing List, Release Notes, Vendor Advisory Changed Reference Type https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=355b98553789b646ed97ad801a619ff898471b92 No Types Assigned https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=355b98553789b646ed97ad801a619ff898471b92 Mailing List, Patch, Vendor Advisory Changed Reference Type https://github.com/torvalds/linux/commit/355b98553789b646ed97ad801a619ff898471b92 No Types Assigned https://github.com/torvalds/linux/commit/355b98553789b646ed97ad801a619ff898471b92 Patch, Third Party Advisory Added CWE CWE-200 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.1 up to (including) 4.20.9 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.0 up to (excluding) 5.0.8
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2019-10639
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2019-10639
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
1.04 }} 0.15%
score
0.75491
percentile