Auth bypass in Linux Kernel
CVE-2016-7097
The filesystem implementation in the Linux kernel through 4.8.2 preserves the setgid bit during a setxattr call, which allows local users to gain group privileges by leveraging the existence of a setgid program with restrictions on execute permissions.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.4 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.004, 33.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (alsmadi/Parse_CVE_Details, Amet13/vulncontrol). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- USN-3146-2 (vendor-advisory)
- USN-3146-1 (vendor-advisory)
- source.android.com/security/bulletin/2017-04-01
- www.securityfocus.com/bid/92659 (vdb-entry)
- RHSA-2017:2669 (vendor-advisory)
- [linux-fsdevel] 20160526 [PATCH 2/2] posix_acl: Clear SGID bit when modifying file permissions (mailing-list, Patch, Third Party Advisory)
- git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/ (Patch, Issue Tracking)
- [oss-security] 20160826 Re: CVE request -- linux kernel: Setting a POSIX ACL via setxattr doesn't clear the setgid bit (mailing-list, Mailing List)
- RHSA-2017:0817 (vendor-advisory)
- USN-3147-1 (vendor-advisory)