7.8
HIGH
CVE-2017-7308
Linux Kernel Packet Af Packet Af_packet.c Denial Of Service And Privilege Escalation Vulnerability
Description

The packet_set_ring function in net/packet/af_packet.c in the Linux kernel through 4.10.6 does not properly validate certain block-size data, which allows local users to cause a denial of service (integer signedness error and out-of-bounds write), or gain privileges (if the CAP_NET_RAW capability is held), via crafted system calls.

INFO

Published Date :

March 29, 2017, 8:59 p.m.

Last Modified :

Feb. 14, 2023, 6:32 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2017-7308 has a 67 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-7308 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-7308.

URL Resource
http://www.securityfocus.com/bid/97234 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:1297 Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:1298 Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:1308 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:1854 Third Party Advisory
https://googleprojectzero.blogspot.com/2017/05/exploiting-linux-kernel-via-packet.html Third Party Advisory
https://patchwork.ozlabs.org/patch/744811/ Third Party Advisory
https://patchwork.ozlabs.org/patch/744812/ Third Party Advisory
https://patchwork.ozlabs.org/patch/744813/ Third Party Advisory
https://source.android.com/security/bulletin/2017-07-01 Third Party Advisory
https://www.exploit-db.com/exploits/41994/ Third Party Advisory VDB Entry
https://www.exploit-db.com/exploits/44654/ Third Party Advisory VDB Entry

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

C Shell Python Assembly Ruby Makefile Meson

Updated: 3 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : July 20, 2024, 8:34 p.m. This repo has been linked 91 different CVEs too.

Auto Root / Privilege Escalation Exploit

autoroot privilege privilege-escalation root

Shell

Updated: 2 months, 3 weeks ago
2 stars 1 fork 1 watcher
Born at : June 11, 2024, 9:57 p.m. This repo has been linked 85 different CVEs too.

整理容器逃逸相关的漏洞和exploits.

Makefile C Python Dockerfile Shell Go

Updated: 4 months ago
7 stars 0 fork 0 watcher
Born at : March 20, 2024, 10:19 a.m. This repo has been linked 27 different CVEs too.

bounty collection

Shell Python Dockerfile Ruby JavaScript ASP.NET Classic ASP HTML PHP Jupyter Notebook

Updated: 2 months, 1 week ago
26 stars 4 fork 4 watcher
Born at : Sept. 11, 2023, 11:19 a.m. This repo has been linked 234 different CVEs too.

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.

None

C Shell Python Ruby Makefile HTML

Updated: 1 year, 4 months ago
0 stars 0 fork 0 watcher
Born at : June 14, 2023, 7:23 p.m. This repo has been linked 50 different CVEs too.

attachment and write up for D^3CTF 2023's pwn challenge - d3kcache

C

Updated: 4 months, 1 week ago
27 stars 1 fork 1 watcher
Born at : May 4, 2023, 12:06 p.m. This repo has been linked 2 different CVEs too.

Linux privilege escalation exploits collection.

C Shell Python Assembly Ruby Makefile Meson

Updated: 2 months ago
88 stars 13 fork 13 watcher
Born at : April 26, 2023, 2:58 p.m. This repo has been linked 91 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 1 year, 6 months ago
1 stars 0 fork 0 watcher
Born at : April 26, 2023, 7:11 a.m. This repo has been linked 50 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.

None

Updated: 1 year, 9 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 11, 2023, 1:21 p.m. This repo has been linked 1042 different CVEs too.

CVE-2017-7308 POC

C

Updated: 1 year, 10 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 9, 2023, 9:55 a.m. This repo has been linked 1 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 2 years, 7 months ago
0 stars 0 fork 0 watcher
Born at : April 3, 2022, 1:47 p.m. This repo has been linked 49 different CVEs too.

None

C Shell Python Ruby Makefile HTML

Updated: 3 years ago
0 stars 0 fork 0 watcher
Born at : Oct. 21, 2021, 9:46 a.m. This repo has been linked 56 different CVEs too.

Various kernel exploits

C Shell

Updated: 2 years, 5 months ago
1 stars 1 fork 1 watcher
Born at : May 2, 2021, 12:38 a.m. This repo has been linked 6 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-7308 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-7308 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. 14, 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://www.securityfocus.com/bid/97234 No Types Assigned http://www.securityfocus.com/bid/97234 Third Party Advisory, VDB Entry
    Changed Reference Type https://access.redhat.com/errata/RHSA-2017:1297 No Types Assigned https://access.redhat.com/errata/RHSA-2017:1297 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2017:1298 No Types Assigned https://access.redhat.com/errata/RHSA-2017:1298 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2017:1308 No Types Assigned https://access.redhat.com/errata/RHSA-2017:1308 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1854 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1854 Third Party Advisory
    Changed Reference Type https://googleprojectzero.blogspot.com/2017/05/exploiting-linux-kernel-via-packet.html No Types Assigned https://googleprojectzero.blogspot.com/2017/05/exploiting-linux-kernel-via-packet.html Third Party Advisory
    Changed Reference Type https://patchwork.ozlabs.org/patch/744811/ Broken Link https://patchwork.ozlabs.org/patch/744811/ Third Party Advisory
    Changed Reference Type https://patchwork.ozlabs.org/patch/744812/ No Types Assigned https://patchwork.ozlabs.org/patch/744812/ Third Party Advisory
    Changed Reference Type https://patchwork.ozlabs.org/patch/744813/ No Types Assigned https://patchwork.ozlabs.org/patch/744813/ Third Party Advisory
    Changed Reference Type https://source.android.com/security/bulletin/2017-07-01 No Types Assigned https://source.android.com/security/bulletin/2017-07-01 Third Party Advisory
    Changed Reference Type https://www.exploit-db.com/exploits/41994/ No Types Assigned https://www.exploit-db.com/exploits/41994/ Third Party Advisory, VDB Entry
    Changed Reference Type https://www.exploit-db.com/exploits/44654/ No Types Assigned https://www.exploit-db.com/exploits/44654/ Third Party Advisory, VDB Entry
    Removed CWE NIST CWE-119
    Added CWE NIST CWE-787
    Added CWE NIST CWE-681
    Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (including) 4.10.6 OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.27 up to (excluding) 3.2.89 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.3 up to (excluding) 3.10.107 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.11 up to (excluding) 3.12.74 *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.52 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.19 up to (excluding) 4.1.41 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.2 up to (excluding) 4.4.66 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.5 up to (excluding) 4.9.26 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 4.10.14
  • CVE Modified by [email protected]

    Feb. 10, 2020

    Action Type Old Value New Value
    Changed Reference Type http://www.securityfocus.com/bid/97234 Third Party Advisory, VDB Entry http://www.securityfocus.com/bid/97234 No Types Assigned
    Added Reference http://www.securityfocus.com/bid/97234 [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 20, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:1854 [No Types Assigned]
  • CVE Modified by [email protected]

    May. 21, 2018

    Action Type Old Value New Value
    Added Reference https://www.exploit-db.com/exploits/44654/ [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 05, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2017:1308 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2017:1298 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2017:1297 [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 16, 2017

    Action Type Old Value New Value
    Added Reference https://www.exploit-db.com/exploits/41994/ [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 13, 2017

    Action Type Old Value New Value
    Added Reference https://source.android.com/security/bulletin/2017-07-01 [No Types Assigned]
  • CVE Modified by [email protected]

    May. 12, 2017

    Action Type Old Value New Value
    Changed Description The packet_set_ring function in net/packet/af_packet.c in the Linux kernel through 4.10.6 does not properly validate certain block-size data, which allows local users to cause a denial of service (overflow) or possibly have unspecified other impact via crafted system calls. The packet_set_ring function in net/packet/af_packet.c in the Linux kernel through 4.10.6 does not properly validate certain block-size data, which allows local users to cause a denial of service (integer signedness error and out-of-bounds write), or gain privileges (if the CAP_NET_RAW capability is held), via crafted system calls.
    Added Reference https://googleprojectzero.blogspot.com/2017/05/exploiting-linux-kernel-via-packet.html [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 04, 2017

    Action Type Old Value New Value
    Added Reference https://patchwork.ozlabs.org/patch/744813/ [No Types Assigned]
    Added Reference https://patchwork.ozlabs.org/patch/744812/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Mar. 31, 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 https://patchwork.ozlabs.org/patch/744811/ No Types Assigned https://patchwork.ozlabs.org/patch/744811/ Broken Link
    Added Reference http://www.securityfocus.com/bid/97234 [Third Party Advisory, VDB Entry]
    Added CWE CWE-119
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:4.10.6:*:*:*:*:*:*:* (and previous)
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-7308 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-7308 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.09 }} -0.00%

score

0.36528

percentile

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