7.8
HIGH
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 :

Feb. 10, 2023, 12:53 a.m.

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.

Affected Products

The following products are affected by CVE-2017-7184 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.

ID Vendor Product Action
1 Linux linux_kernel
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.

URL Resource
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=677e806da4d916052585301785d847c3b3e6186a Vendor Advisory
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f843ee6dd019bcece3e74e76ad9df0155655d0df Vendor Advisory
http://openwall.com/lists/oss-security/2017/03/29/2 Mailing List Third Party Advisory
http://www.eweek.com/security/ubuntu-linux-falls-on-day-1-of-pwn2own-hacking-competition Technical Description Third Party Advisory
http://www.securityfocus.com/bid/97018 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1038166 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:2918 Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2930 Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2931 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:4159 Third Party Advisory
https://blog.trendmicro.com/results-pwn2own-2017-day-one/ Technical Description Third Party Advisory
https://github.com/torvalds/linux/commit/677e806da4d916052585301785d847c3b3e6186a Third Party Advisory
https://github.com/torvalds/linux/commit/f843ee6dd019bcece3e74e76ad9df0155655d0df Third Party Advisory
https://source.android.com/security/bulletin/2017-05-01 Third Party Advisory
https://twitter.com/thezdi/status/842126074435665920 Press/Media Coverage Third Party Advisory

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

Updated: 8 months, 2 weeks ago
2 stars 1 fork 1 watcher
Born at : July 22, 2023, 3:11 a.m. This repo has been linked 18 different CVEs too.

A eBPF framework to prevent discovered error from being triggered

Shell Makefile C Roff Assembly Perl C++ Awk Python sed

Updated: 2 months, 1 week ago
7 stars 3 fork 3 watcher
Born at : June 1, 2023, 9:45 p.m. This repo has been linked 3 different CVEs too.

None

Updated: 2 months, 2 weeks ago
6 stars 0 fork 0 watcher
Born at : Feb. 25, 2023, 10:40 a.m. This repo has been linked 178 different CVEs too.

Anything about kernel security. CTF kernel pwn, kernel exploit, kernel fuzz and kernel defense paper, kernel debugging technique, kernel CVE debug.

C Shell Makefile

Updated: 2 months ago
621 stars 76 fork 76 watcher
Born at : Nov. 27, 2019, 7:50 a.m. This repo has been linked 37 different CVEs too.

None

C Perl 6 Perl ASP HTML Rich Text Format Visual Basic TeX Assembly Shell

Updated: 2 months, 4 weeks ago
1 stars 1 fork 1 watcher
Born at : June 13, 2019, 1:51 p.m. This repo has been linked 308 different CVEs too.

None

Shell C Python Makefile

Updated: 5 months ago
169 stars 21 fork 21 watcher
Born at : Nov. 7, 2018, 8:18 a.m. This repo has been linked 2 different CVEs too.

A bunch of links related to Linux kernel exploitation

Updated: 9 months, 1 week ago
21 stars 4 fork 4 watcher
Born at : Aug. 8, 2018, 8 a.m. This repo has been linked 65 different CVEs too.

Not ready yet

Updated: 4 years, 2 months ago
4 stars 1 fork 1 watcher
Born at : April 29, 2018, 3:43 p.m. This repo has been linked 64 different CVEs too.

not yet fin

Updated: 6 years, 9 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 25, 2018, 2:10 a.m. This repo has been linked 1 different CVEs too.

the job is not yet finished

Updated: 6 years, 9 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 25, 2018, 1:55 a.m. This repo has been linked 1 different CVEs too.

None

Python

Updated: 2 months, 4 weeks ago
9 stars 1 fork 1 watcher
Born at : Aug. 30, 2017, 2:37 p.m. This repo has been linked 1269 different CVEs too.

None

C Shell Makefile

Updated: 2 years, 7 months ago
9 stars 2 fork 2 watcher
Born at : July 12, 2017, 6:28 a.m. This repo has been linked 14 different CVEs too.

Great article related to Linux kernel fuzzing and exploitation

Updated: 7 months, 3 weeks ago
9 stars 2 fork 2 watcher
Born at : July 10, 2017, 6 p.m. This repo has been linked 54 different CVEs too.

blog

Updated: 1 year, 1 month ago
16 stars 5 fork 5 watcher
Born at : May 22, 2017, 2:19 a.m. This repo has been linked 2 different CVEs too.

practice

C

Updated: 2 months, 4 weeks ago
65 stars 30 fork 30 watcher
Born at : March 7, 2017, 1:51 a.m. This repo has been linked 4 different CVEs too.

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]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability