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 :

Jan. 17, 2023, 9:40 p.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

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

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: 1 month, 4 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: 1 month 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.

None

Makefile C

Updated: 6 months, 3 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

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

Updated: 1 year, 4 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: 1 week, 6 days 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.

Some POC_EXP Records.

PHP Python Shell C

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

PHP

Updated: 5 years, 6 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: 2 weeks, 3 days ago
327 stars 70 fork 70 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