CVE-2016-7097
kernel: Setting a POSIX ACL via setxattr doesn't clear the setgid bit
Overview
Description
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.
Source: OX vulnerability database
Severity
4.4 · MEDIUM
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness: CWE-285
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 15 fixes
Oracle Linux 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | dtrace-modules-3-8-13-118-19-3-el7uek | 0.4.5-3.el7 |
| 7 | dtrace-modules-4-1-12-61-1-33-el7uek | 0.5.3-2.el7 |
| 7 | kernel +11 | 3.10.0-693.0.0.0.1.el7 |
| 7 | kernel-uek +5 | 4.1.12-61.1.33.el7uek |
Red Hat 2 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| kernel-rt +9 | 1:3.10.0-693.2.1.rt56.585.el6rt | RHSA-2017:2669 | |
| 7 | kernel +13 | 0:3.10.0-693.el7 | RHSA-2017:1842 |
| 7 | kernel-rt +9 | 0:3.10.0-693.rt56.617.el7 | RHSA-2017:2077 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | 4.7.8-1 |
| 12 | linux | 4.7.8-1 |
| 13 | linux | 4.7.8-1 |
| 14 | linux | 4.7.8-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 4.7.8-1 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-linux | 4.7.8-1 |
| 12 | rootio-linux | 4.7.8-1 |
| 13 | rootio-linux | 4.7.8-1 |
References
- git.kernel.org http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=073931017b49d9458aa351605b43a7e34598caef
- marc.info http://marc.info/?l=linux-fsdevel&m=147162313630259&w=2
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2017-0817.html
- seclists.org http://seclists.org/oss-sec/2016/q3/380
- www.openwall.com http://www.openwall.com/lists/oss-security/2016/08/26/3
- www.securityfocus.com http://www.securityfocus.com/bid/92659
- www.securitytracker.com http://www.securitytracker.com/id/1038201
- www.spinics.net http://www.spinics.net/lists/linux-fsdevel/msg101138.html
- www.spinics.net http://www.spinics.net/lists/linux-fsdevel/msg98328.html
- www.ubuntu.com http://www.ubuntu.com/usn/USN-3146-1
Show all 32 references
- www.ubuntu.com http://www.ubuntu.com/usn/USN-3146-2
- www.ubuntu.com http://www.ubuntu.com/usn/USN-3147-1
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:1842
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:2077
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:2669
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-7097
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1368938
- github.com https://github.com/torvalds/linux/commit/073931017b49d9458aa351605b43a7e34598caef
- linux.oracle.com https://linux.oracle.com/cve/CVE-2016-7097.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2017-3596.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-7097
- source.android.com https://source.android.com/security/bulletin/2017-04-01
- support.f5.com https://support.f5.com/csp/article/K31603170?utm_source=f5support&%3Butm_medium=RSS
- ubuntu.com https://ubuntu.com/security/notices/USN-3146-1
- ubuntu.com https://ubuntu.com/security/notices/USN-3146-2
- ubuntu.com https://ubuntu.com/security/notices/USN-3147-1
- ubuntu.com https://ubuntu.com/security/notices/USN-3161-3
- ubuntu.com https://ubuntu.com/security/notices/USN-3161-4
- ubuntu.com https://ubuntu.com/security/notices/USN-3162-2
- ubuntu.com https://ubuntu.com/security/notices/USN-3422-1
- ubuntu.com https://ubuntu.com/security/notices/USN-3422-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2016-7097
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.