7.8
HIGH
CVE-2016-4557
Linux BPF Privilege Escalation Use-After-Free
Description

The replace_map_fd_with_map_ptr function in kernel/bpf/verifier.c in the Linux kernel before 4.5.5 does not properly maintain an fd data structure, which allows local users to gain privileges or cause a denial of service (use-after-free) via crafted BPF instructions that reference an incorrect file descriptor.

INFO

Published Date :

May 23, 2016, 10:59 a.m.

Last Modified :

Nov. 21, 2024, 2:52 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2016-4557 has a 14 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-2016-4557 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-2016-4557.

URL Resource
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7 Vendor Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00044.html Mailing List Third Party Advisory
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.5 Vendor Advisory
http://www.openwall.com/lists/oss-security/2016/05/06/4 Mailing List Third Party Advisory
https://bugs.chromium.org/p/project-zero/issues/detail?id=808 Third Party Advisory
https://bugs.debian.org/823603 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1334307 Issue Tracking Third Party Advisory
https://github.com/torvalds/linux/commit/8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7 Vendor Advisory
https://www.exploit-db.com/exploits/40759/ Third Party Advisory VDB Entry
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7 Vendor Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00044.html Mailing List Third Party Advisory
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.5 Vendor Advisory
http://www.openwall.com/lists/oss-security/2016/05/06/4 Mailing List Third Party Advisory
https://bugs.chromium.org/p/project-zero/issues/detail?id=808 Third Party Advisory
https://bugs.debian.org/823603 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1334307 Issue Tracking Third Party Advisory
https://github.com/torvalds/linux/commit/8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7 Vendor Advisory
https://www.exploit-db.com/exploits/40759/ 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: 4 months 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: 3 months, 1 week 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.

Place where I track kernel config and WHY I configured it in certain ways.

Shell

Updated: 1 month, 1 week ago
0 stars 0 fork 0 watcher
Born at : Feb. 24, 2024, 10:28 a.m. This repo has been linked 5 different CVEs too.

None

Makefile C

Updated: 9 months 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

Emacs Lisp Vim Script GDB Makefile C C++ Lex Yacc Shell Assembly

Updated: 1 year, 6 months ago
0 stars 0 fork 0 watcher
Born at : May 18, 2023, 3:47 p.m. This repo has been linked 1 different CVEs too.

Linux privilege escalation exploits collection.

C Shell Python Assembly Ruby Makefile Meson

Updated: 2 weeks, 5 days ago
106 stars 15 fork 15 watcher
Born at : April 26, 2023, 2:58 p.m. This repo has been linked 91 different CVEs too.

Some POC_EXP Records.

PHP Python Shell C

Updated: 2 months, 4 weeks ago
0 stars 0 fork 0 watcher
Born at : May 14, 2022, 6:12 a.m. This repo has been linked 13 different CVEs too.

GoBPFLD is a pure go eBPF loader/userspace library

ebpf xdp

Go C Shell

Updated: 10 months, 1 week ago
18 stars 2 fork 2 watcher
Born at : April 10, 2021, 8:32 p.m. This repo has been linked 3 different CVEs too.

None

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

Updated: 3 months, 1 week 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.

Steps to follow when participating to CTF

JavaScript

Updated: 2 years, 2 months ago
1 stars 0 fork 0 watcher
Born at : Oct. 22, 2018, 5:22 p.m. This repo has been linked 2 different CVEs too.

Linux kernel exploits for local privilege escalation

C Shell

Updated: 3 months, 2 weeks ago
76 stars 27 fork 27 watcher
Born at : Aug. 25, 2018, 7:19 p.m. This repo has been linked 7 different CVEs too.

None

Python

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

None

PHP

Updated: 5 years, 8 months ago
3 stars 1 fork 1 watcher
Born at : June 23, 2016, 2:47 p.m. This repo has been linked 1 different CVEs too.

The vm images in this repo are lost, we recommend our new project: https://github.com/hust-open-atom-club/S2VulnHub

linux vulnerability reproduction cve edb

Shell C Perl PHP TeX Python Assembly Makefile HTML XSLT

Updated: 4 days ago
328 stars 71 fork 71 watcher
Born at : July 30, 2015, 10:36 a.m. This repo has been linked 309 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-2016-4557 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-4557 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]

    Jan. 17, 2023

    Action Type Old Value New Value
    Changed Evaluator Description <a href="http://cwe.mitre.org/data/definitions/416.html">CWE-416: Use After Free</a> CWE-416: Use After Free
    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=8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7 No Types Assigned http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7 Vendor Advisory
    Changed Reference Type http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00044.html No Types Assigned http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00044.html Mailing List, Third Party Advisory
    Changed Reference Type http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.5 No Types Assigned http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.5 Vendor Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2016/05/06/4 No Types Assigned http://www.openwall.com/lists/oss-security/2016/05/06/4 Mailing List, Third Party Advisory
    Changed Reference Type https://bugs.chromium.org/p/project-zero/issues/detail?id=808 No Types Assigned https://bugs.chromium.org/p/project-zero/issues/detail?id=808 Third Party Advisory
    Changed Reference Type https://bugs.debian.org/823603 No Types Assigned https://bugs.debian.org/823603 Third Party Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1334307 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1334307 Issue Tracking, Third Party Advisory
    Changed Reference Type https://www.exploit-db.com/exploits/40759/ No Types Assigned https://www.exploit-db.com/exploits/40759/ Third Party Advisory, VDB Entry
    Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (including) 4.5.4 OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.4 up to (excluding) 4.4.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.5 up to (excluding) 4.5.5
  • CVE Modified by [email protected]

    Sep. 03, 2017

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

    Nov. 28, 2016

    Action Type Old Value New Value
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00044.html [No Types Assigned]
  • Modified Analysis by [email protected]

    May. 24, 2016

    Action Type Old Value New Value
    Added Evaluator Description <a href="http://cwe.mitre.org/data/definitions/416.html">CWE-416: Use After Free</a>
    Added CPE Configuration Configuration 1 OR *cpe:2.3:o:linux:linux_kernel:4.5.4:*:*:*:*:*:*:* (and previous)
    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://github.com/torvalds/linux/commit/8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7 No Types Assigned https://github.com/torvalds/linux/commit/8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7 Advisory
    Added CWE NVD-CWE-Other
  • Initial Analysis by [email protected]

    May. 24, 2016

    Action Type Old Value New Value
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-2016-4557 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-2016-4557 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.36291

percentile

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