CVE-2017-7184
Linux XFRM CAP_NET_ADMIN Heap-Based Out-of-Bounds Access Vulnerability
Description
The xfrm_replay_verify_len function in net/xfrm/xfrm_user.c in the Linux kernel through 4.10.6 does not validate certain size data after an XFRM_MSG_NEWAE update, which allows local users to obtain root privileges or cause a denial of service (heap-based out-of-bounds access) by leveraging the CAP_NET_ADMIN capability, as demonstrated during a Pwn2Own competition at CanSecWest 2017 for the Ubuntu 16.10 linux-image-* package 4.8.0.41.52.
INFO
Published Date :
March 19, 2017, 6:59 p.m.
Last Modified :
Nov. 21, 2024, 3:31 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2017-7184 has a 17 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-2017-7184
.
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).
None
Makefile C
A eBPF framework to prevent discovered error from being triggered
Shell Makefile C Roff Assembly Perl C++ Awk Python sed
None
Anything about kernel security. CTF kernel pwn, kernel exploit, kernel fuzz and kernel defense paper, kernel debugging technique, kernel CVE debug.
C Shell Makefile
None
C Perl 6 Perl ASP HTML Rich Text Format Visual Basic TeX Assembly Shell
None
Shell C Python Makefile
A bunch of links related to Linux kernel exploitation
Not ready yet
not yet fin
the job is not yet finished
None
Python
None
C Shell Makefile
Great article related to Linux kernel fuzzing and exploitation
blog
practice
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-7184
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2017-7184
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 -
Modified Analysis by [email protected]
Feb. 10, 2023
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 http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=677e806da4d916052585301785d847c3b3e6186a No Types Assigned http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=677e806da4d916052585301785d847c3b3e6186a Vendor Advisory Changed Reference Type http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f843ee6dd019bcece3e74e76ad9df0155655d0df No Types Assigned http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f843ee6dd019bcece3e74e76ad9df0155655d0df Vendor Advisory Changed Reference Type http://openwall.com/lists/oss-security/2017/03/29/2 No Types Assigned http://openwall.com/lists/oss-security/2017/03/29/2 Mailing List, Third Party Advisory Changed Reference Type http://www.securitytracker.com/id/1038166 No Types Assigned http://www.securitytracker.com/id/1038166 Third Party Advisory, VDB Entry Changed Reference Type https://access.redhat.com/errata/RHSA-2017:2918 No Types Assigned https://access.redhat.com/errata/RHSA-2017:2918 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2017:2930 No Types Assigned https://access.redhat.com/errata/RHSA-2017:2930 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2017:2931 No Types Assigned https://access.redhat.com/errata/RHSA-2017:2931 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2019:4159 No Types Assigned https://access.redhat.com/errata/RHSA-2019:4159 Third Party Advisory Changed Reference Type https://github.com/torvalds/linux/commit/677e806da4d916052585301785d847c3b3e6186a No Types Assigned https://github.com/torvalds/linux/commit/677e806da4d916052585301785d847c3b3e6186a Third Party Advisory Changed Reference Type https://github.com/torvalds/linux/commit/f843ee6dd019bcece3e74e76ad9df0155655d0df No Types Assigned https://github.com/torvalds/linux/commit/f843ee6dd019bcece3e74e76ad9df0155655d0df Third Party Advisory Changed Reference Type https://source.android.com/security/bulletin/2017-05-01 No Types Assigned https://source.android.com/security/bulletin/2017-05-01 Third Party Advisory Changed Reference Type https://twitter.com/thezdi/status/842126074435665920 Press/Media Coverage https://twitter.com/thezdi/status/842126074435665920 Press/Media Coverage, Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 3.2.89 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.3 up to (excluding) 3.10.106 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.11 up to (excluding) 3.12.73 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.13 up to (excluding) 3.16.44 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.17 up to (excluding) 3.18.49 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.19 up to (excluding) 4.1.49 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.2 up to (excluding) 4.4.59 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.5 up to (excluding) 4.9.20 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 4.10.8 -
CVE Modified by [email protected]
Dec. 10, 2019
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2019:4159 [No Types Assigned] -
CWE Remap by [email protected]
Oct. 03, 2019
Action Type Old Value New Value Changed CWE CWE-264 NVD-CWE-noinfo -
CVE Modified by [email protected]
Dec. 07, 2017
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2017:2931 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2017:2930 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2017:2918 [No Types Assigned] -
CVE Modified by [email protected]
Jul. 12, 2017
Action Type Old Value New Value Added Reference http://www.securitytracker.com/id/1038166 [No Types Assigned] -
CVE Modified by [email protected]
May. 18, 2017
Action Type Old Value New Value Added Reference https://source.android.com/security/bulletin/2017-05-01 [No Types Assigned] -
CVE Modified by [email protected]
Mar. 30, 2017
Action Type Old Value New Value Changed Description The linux-image-* package 4.8.0.41.52 for the Linux kernel on Ubuntu 16.10 allows local users to obtain root privileges or cause a denial of service (heap-based out-of-bounds access) via unspecified vectors, as demonstrated during a Pwn2Own competition at CanSecWest 2017. The xfrm_replay_verify_len function in net/xfrm/xfrm_user.c in the Linux kernel through 4.10.6 does not validate certain size data after an XFRM_MSG_NEWAE update, which allows local users to obtain root privileges or cause a denial of service (heap-based out-of-bounds access) by leveraging the CAP_NET_ADMIN capability, as demonstrated during a Pwn2Own competition at CanSecWest 2017 for the Ubuntu 16.10 linux-image-* package 4.8.0.41.52. Added Reference https://github.com/torvalds/linux/commit/f843ee6dd019bcece3e74e76ad9df0155655d0df [No Types Assigned] Added Reference https://github.com/torvalds/linux/commit/677e806da4d916052585301785d847c3b3e6186a [No Types Assigned] Added Reference http://openwall.com/lists/oss-security/2017/03/29/2 [No Types Assigned] Added Reference http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f843ee6dd019bcece3e74e76ad9df0155655d0df [No Types Assigned] Added Reference http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=677e806da4d916052585301785d847c3b3e6186a [No Types Assigned] -
Initial Analysis by [email protected]
Mar. 28, 2017
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://www.eweek.com/security/ubuntu-linux-falls-on-day-1-of-pwn2own-hacking-competition No Types Assigned http://www.eweek.com/security/ubuntu-linux-falls-on-day-1-of-pwn2own-hacking-competition Technical Description, Third Party Advisory Changed Reference Type http://www.securityfocus.com/bid/97018 No Types Assigned http://www.securityfocus.com/bid/97018 Third Party Advisory, VDB Entry Changed Reference Type https://twitter.com/thezdi/status/842126074435665920 No Types Assigned https://twitter.com/thezdi/status/842126074435665920 Press/Media Coverage Changed Reference Type https://blog.trendmicro.com/results-pwn2own-2017-day-one/ No Types Assigned https://blog.trendmicro.com/results-pwn2own-2017-day-one/ Technical Description, Third Party Advisory Added CWE CWE-264 Added CPE Configuration AND OR *cpe:2.3:o:linux:linux_kernel:4.8:*:*:*:*:*:*:* OR cpe:2.3:o:canonical:ubuntu_linux:16.10:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Mar. 24, 2017
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/97018 [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-7184
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-7184
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.15 }} 0.04%
score
0.51524
percentile