Description

The apparmor_setprocattr function in security/apparmor/lsm.c in the Linux kernel before 4.6.5 does not validate the buffer size, which allows local users to gain privileges by triggering an AppArmor setprocattr hook.

INFO

Published Date :

Aug. 6, 2016, 8:59 p.m.

Last Modified :

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

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2016-6187 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-6187 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-6187.

URL Resource
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=30a46a4647fd1df9cf52e43bf467f0d9265096ca Issue Tracking Patch
http://marc.info/?l=linux-kernel&m=146793642811929&w=2 Third Party Advisory
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.5 Release Notes
http://www.openwall.com/lists/oss-security/2016/07/09/2 Mailing List Third Party Advisory
http://www.securityfocus.com/bid/91696 Third Party Advisory VDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=1354383 Issue Tracking
https://github.com/torvalds/linux/commit/30a46a4647fd1df9cf52e43bf467f0d9265096ca Issue Tracking Patch

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).

Kernel Exploit for CVE-2016-6187 (Local Privilege Escalation)

C Makefile Shell

Updated: 1 month, 2 weeks ago
6 stars 0 fork 0 watcher
Born at : May 12, 2024, 12:52 p.m. This repo has been linked 1 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.

A eBPF framework to prevent discovered error from being triggered

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

Updated: 3 weeks 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: 3 weeks, 3 days 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.

cve-2016-6187

C

Updated: 2 years, 6 months ago
5 stars 1 fork 1 watcher
Born at : July 23, 2019, 12:30 p.m. This repo has been linked 1 different CVEs too.

None

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

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

A bunch of links related to Linux kernel exploitation

Updated: 7 months, 2 weeks 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 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.

Kernel-Security

Updated: 2 months ago
5 stars 3 fork 3 watcher
Born at : Sept. 20, 2017, 2:48 a.m. This repo has been linked 11 different CVEs too.

None

Python

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

Great article related to Linux kernel fuzzing and exploitation

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

A collection of links related to Linux kernel security and exploitation

linux-kernel kernel-exploitation exploit privilege-escalation security

Updated: 1 week, 4 days ago
5527 stars 902 fork 902 watcher
Born at : Nov. 13, 2016, 10:21 p.m. This repo has been linked 225 different CVEs too.

看雪iOS安全小组的翻译团队作品集合,如有勘误,欢迎斧正!

Updated: 1 month, 1 week ago
672 stars 150 fork 150 watcher
Born at : Oct. 27, 2016, 3:30 a.m. This repo has been linked 9 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-6187 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-6187 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
    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/91696 No Types Assigned http://www.securityfocus.com/bid/91696 Third Party Advisory, VDB Entry
    Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (including) 4.6.4 OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.5 up to (excluding) 4.6.5
  • CVE Modified by [email protected]

    Nov. 28, 2016

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/91696 [No Types Assigned]
  • Modified Analysis by [email protected]

    Aug. 11, 2016

    Action Type Old Value New Value
    Added CPE Configuration Configuration 1 OR *cpe:2.3:o:linux:linux_kernel:4.6.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 http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=30a46a4647fd1df9cf52e43bf467f0d9265096ca No Types Assigned http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=30a46a4647fd1df9cf52e43bf467f0d9265096ca Issue Tracking, Patch
    Changed Reference Type http://www.openwall.com/lists/oss-security/2016/07/09/2 No Types Assigned http://www.openwall.com/lists/oss-security/2016/07/09/2 Third Party Advisory, Mailing List
    Changed Reference Type http://marc.info/?l=linux-kernel&m=146793642811929&w=2 No Types Assigned http://marc.info/?l=linux-kernel&m=146793642811929&w=2 Third Party Advisory
    Changed Reference Type https://github.com/torvalds/linux/commit/30a46a4647fd1df9cf52e43bf467f0d9265096ca No Types Assigned https://github.com/torvalds/linux/commit/30a46a4647fd1df9cf52e43bf467f0d9265096ca Issue Tracking, Patch
    Changed Reference Type http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.5 No Types Assigned http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.5 Release Notes
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1354383 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1354383 Issue Tracking
    Added CWE CWE-119
    Added CWE CWE-264
  • Initial Analysis by [email protected]

    Aug. 10, 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.
Exploit Prediction

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

0.04 }} 0.00%

score

0.10746

percentile

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