CVE-2016-6187
Linux Kernel < 4.5.1 - Off-By-One (PoC)
Severity Score
7.8
*CVSS v3.1
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
3
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
-
*SSVC
Descriptions
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.
La función apparmor_setprocattr en security/apparmor/lsm.c en el kernel de Linux en versiones anteriores a 4.6.5 no valida el tamaño de búfer, lo que permite a usuarios locales obtener privilegios desencadenando un gancho AppArmor setprocattr.
*Credits:
N/A
CVSS Scores
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Attack Vector
Attack Complexity
Authentication
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:-
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2016-07-09 CVE Reserved
- 2016-08-06 CVE Published
- 2016-10-16 First Exploit
- 2023-03-08 EPSS Updated
- 2024-08-06 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-264: Permissions, Privileges, and Access Controls
CAPEC
References (10)
URL | Tag | Source |
---|---|---|
http://marc.info/?l=linux-kernel&m=146793642811929&w=2 | Mailing List | |
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 | |
http://www.securityfocus.com/bid/91696 | Third Party Advisory | |
https://bugzilla.redhat.com/show_bug.cgi?id=1354383 | Issue Tracking |
URL | Date | SRC |
---|---|---|
https://www.exploit-db.com/exploits/44301 | 2016-10-16 | |
https://github.com/vnik5287/cve-2016-6187-poc | 2022-02-21 | |
https://github.com/Milo-D/CVE-2016-6187_LPE | 2024-08-03 |
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 4.5 < 4.6.5 Search vendor "Linux" for product "Linux Kernel" and version " >= 4.5 < 4.6.5" | - |
Affected
|