CVE-2015-8660
Description
The ovl_setattr function in fs/overlayfs/inode.c in the Linux kernel through 4.3.3 attempts to merge distinct setattr operations, which allows local users to bypass intended access restrictions and modify the attributes of arbitrary overlay files via a crafted application.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Linux Kernel (Ubuntu / Fedora / RedHat) - 'Overlayfs' Local Privilege Escalation (Metasploit)
Linux Kernel 4.3.3 (Ubuntu 14.04/15.10) - 'overlayfs' Local Privilege Escalation (1)
Linux Kernel 4.3.3 - 'overlayfs' Local Privilege Escalation (2)
Metasploit modules
OS impact
Linux kernel Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | 3.18.31 |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 4.3.3-3 |
| sid | Fixed | 4.3.3-3 |
| forky | Fixed | 4.3.3-3 |
| bullseye | Fixed | 4.3.3-3 |
| bookworm | Fixed | 4.3.3-3 |
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=acff81ec2c79492b180fade3c2894425cd35a545
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00039.html
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00040.html
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00043.html
- http://packetstormsecurity.com/files/135151/Ubuntu-14.04-LTS-15.10-overlayfs-Local-Root.html
- http://rhn.redhat.com/errata/RHSA-2016-1532.html
- http://rhn.redhat.com/errata/RHSA-2016-1539.html
- http://rhn.redhat.com/errata/RHSA-2016-1541.html
- http://www.openwall.com/lists/oss-security/2015/12/23/5
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html
- http://www.securityfocus.com/bid/79671
- http://www.securitytracker.com/id/1034548
- http://www.ubuntu.com/usn/USN-2857-1
- http://www.ubuntu.com/usn/USN-2857-2
- http://www.ubuntu.com/usn/USN-2858-1
- http://www.ubuntu.com/usn/USN-2858-2
- http://www.ubuntu.com/usn/USN-2858-3
- https://bugzilla.redhat.com/show_bug.cgi?id=1291329
- https://github.com/torvalds/linux/commit/acff81ec2c79492b180fade3c2894425cd35a545
- https://www.exploit-db.com/exploits/39166/
- https://www.exploit-db.com/exploits/39230/
- https://www.exploit-db.com/exploits/40688/
- https://security-tracker.debian.org/tracker/CVE-2015-8660
CWEs
CWE-264
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.