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.
Source :
[email protected]
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.
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
.
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
Auto Root / Privilege Escalation Exploit
autoroot privilege privilege-escalation root
Shell
Place where I track kernel config and WHY I configured it in certain ways.
Shell
None
Makefile C
None
Emacs Lisp Vim Script GDB Makefile C C++ Lex Yacc Shell Assembly
Linux privilege escalation exploits collection.
C Shell Python Assembly Ruby Makefile Meson
Some POC_EXP Records.
PHP Python Shell C
GoBPFLD is a pure go eBPF loader/userspace library
ebpf xdp
Go C Shell
None
C Perl 6 Perl ASP HTML Rich Text Format Visual Basic TeX Assembly Shell
Steps to follow when participating to CTF
JavaScript
Linux kernel exploits for local privilege escalation
C Shell
None
Python
None
PHP
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
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
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