CVE-2017-18509
"Linux Kernel IPv6 MRD Socket Pointer Corruption"
Description
An issue was discovered in net/ipv6/ip6mr.c in the Linux kernel before 4.11. By setting a specific socket option, an attacker can control a pointer in kernel land and cause an inet_csk_listen_stop general protection fault, or potentially execute arbitrary code under certain circumstances. The issue can be triggered as root (e.g., inside a default LXC container or with the CAP_NET_ADMIN capability) or after namespace unsharing. This occurs because sk_type and protocol are not checked in the appropriate part of the ip6_mroute_* functions. NOTE: this affects Linux distributions that use 4.9.x longterm kernels before 4.9.187.
INFO
Published Date :
Aug. 13, 2019, 2:15 p.m.
Last Modified :
Nov. 7, 2023, 2:41 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2017-18509 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2017-18509
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
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-2017-18509
.
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).
Vanir is a source code-based static analysis tool that automatically identifies the list of missing security patches in the target system. By default, Vanir pulls up-to-date CVEs from Open Source Vulnerabilities (OSV) together with their corresponding signatures so that users can transparently scan missing patches for an up-to-date list of CVEs.
Starlark Python C++
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2017-18509
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2017-18509
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 [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/K41582535?utm_source=f5support&%3Butm_medium=RSS [No types assigned] Removed Reference MITRE https://support.f5.com/csp/article/K41582535?utm_source=f5support&utm_medium=RSS -
Reanalysis by [email protected]
Feb. 07, 2023
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 4.11 OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 3.16.72 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.17 up to (excluding) 4.4.187 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.5 up to (excluding) 4.9.187 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 4.11 -
Modified Analysis by [email protected]
Nov. 09, 2020
Action Type Old Value New Value Removed CVSS V3 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://salsa.debian.org/kernel-team/linux/commit/baefcdc2f29923e7325ce4e1a72c3ff0a9800f32 Patch, Third Party Advisory https://salsa.debian.org/kernel-team/linux/commit/baefcdc2f29923e7325ce4e1a72c3ff0a9800f32 Third Party Advisory Changed Reference Type https://support.f5.com/csp/article/K41582535 No Types Assigned https://support.f5.com/csp/article/K41582535 Third Party Advisory Changed Reference Type https://support.f5.com/csp/article/K41582535?utm_source=f5support&utm_medium=RSS No Types Assigned https://support.f5.com/csp/article/K41582535?utm_source=f5support&utm_medium=RSS Third Party Advisory Changed Reference Type https://usn.ubuntu.com/4145-1/ No Types Assigned https://usn.ubuntu.com/4145-1/ Third Party Advisory Changed CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* OR *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Oct. 09, 2019
Action Type Old Value New Value Added Reference https://support.f5.com/csp/article/K41582535?utm_source=f5support&utm_medium=RSS [No Types Assigned] -
CVE Modified by [email protected]
Oct. 01, 2019
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/4145-1/ [No Types Assigned] -
CVE Modified by [email protected]
Sep. 26, 2019
Action Type Old Value New Value Added Reference https://support.f5.com/csp/article/K41582535 [No Types Assigned] -
Initial Analysis by [email protected]
Aug. 21, 2019
Action Type Old Value New Value Added CVSS V2 (AV:L/AC:L/Au:N/C:C/I:C/A:C) Added CVSS V3 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://packetstormsecurity.com/files/154059/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html No Types Assigned http://packetstormsecurity.com/files/154059/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html Third Party Advisory, VDB Entry Changed Reference Type https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=99253eb750fda6a644d5188fb26c43bad8d5a745 No Types Assigned https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=99253eb750fda6a644d5188fb26c43bad8d5a745 Patch, Vendor Advisory Changed Reference Type https://github.com/torvalds/linux/commit/99253eb750fda6a644d5188fb26c43bad8d5a745 No Types Assigned https://github.com/torvalds/linux/commit/99253eb750fda6a644d5188fb26c43bad8d5a745 Patch, Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2019/08/msg00016.html No Types Assigned https://lists.debian.org/debian-lts-announce/2019/08/msg00016.html Mailing List, Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2019/08/msg00017.html No Types Assigned https://lists.debian.org/debian-lts-announce/2019/08/msg00017.html Mailing List, Third Party Advisory Changed Reference Type https://lists.openwall.net/netdev/2017/12/04/40 No Types Assigned https://lists.openwall.net/netdev/2017/12/04/40 Mailing List, Third Party Advisory Changed Reference Type https://pulsesecurity.co.nz/advisories/linux-kernel-4.9-inetcsklistenstop-gpf No Types Assigned https://pulsesecurity.co.nz/advisories/linux-kernel-4.9-inetcsklistenstop-gpf Exploit, Third Party Advisory Changed Reference Type https://salsa.debian.org/kernel-team/linux/commit/baefcdc2f29923e7325ce4e1a72c3ff0a9800f32 No Types Assigned https://salsa.debian.org/kernel-team/linux/commit/baefcdc2f29923e7325ce4e1a72c3ff0a9800f32 Patch, Third Party Advisory Changed Reference Type https://seclists.org/bugtraq/2019/Aug/26 No Types Assigned https://seclists.org/bugtraq/2019/Aug/26 Mailing List, Third Party Advisory Changed Reference Type https://www.debian.org/security/2019/dsa-4497 No Types Assigned https://www.debian.org/security/2019/dsa-4497 Third Party Advisory Added CWE CWE-20 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 4.11 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Aug. 19, 2019
Action Type Old Value New Value Changed Description An issue was discovered in net/ipv6/ip6mr.c in the Linux kernel before 4.11. By setting a specific socket option, an attacker can control a pointer in kernel land and cause an inet_csk_listen_stop general protection fault, or potentially execute arbitrary code under certain circumstances. The issue can be triggered as root (e.g., inside a default LXC container or with the CAP_NET_ADMIN capability) or after namespace unsharing. This occurs because sk_type and protocol are not checked in the appropriate part of the ip6_mroute_* functions. NOTE: this affects Linux distributions that use 4.9.x longterm kernels. An issue was discovered in net/ipv6/ip6mr.c in the Linux kernel before 4.11. By setting a specific socket option, an attacker can control a pointer in kernel land and cause an inet_csk_listen_stop general protection fault, or potentially execute arbitrary code under certain circumstances. The issue can be triggered as root (e.g., inside a default LXC container or with the CAP_NET_ADMIN capability) or after namespace unsharing. This occurs because sk_type and protocol are not checked in the appropriate part of the ip6_mroute_* functions. NOTE: this affects Linux distributions that use 4.9.x longterm kernels before 4.9.187. -
CVE Modified by [email protected]
Aug. 15, 2019
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/154059/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html [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. 14, 2019
Action Type Old Value New Value Added Reference https://seclists.org/bugtraq/2019/Aug/26 [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/msg00016.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]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2017-18509
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-2017-18509
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.24 }} -0.00%
score
0.61943
percentile