CVE-2012-2123
kernel: fcaps: clear the same personality flags as suid when fcaps are used
Overview
Description
The cap_bprm_set_creds function in security/commoncap.c in the Linux kernel before 3.3.3 does not properly handle the use of file system capabilities (aka fcaps) for implementing a privileged executable file, which allows local users to bypass intended personality restrictions via a crafted application, as demonstrated by an attack that uses a parent process to disable ASLR.
Source: OX vulnerability database
Severity
7.2 · HIGH
CVSS 2.0 base score, scored by NVD.
- Access vector
- Local
- Access complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
AV:L/AC:L/Au:N/C:C/I:C/A:C
Weakness: CWE-264
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 1 fix
Red Hat 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| kernel-rt +9 | 0:3.0.30-rt50.62.el6rt | RHSA-2012:0670 |
References
- git.kernel.org http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=d52fc5dde171f030170a6cb78034d166b13c9445
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2012-0670.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2012-0743.html
- www.debian.org http://www.debian.org/security/2012/dsa-2469
- www.kernel.org http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.3.3
- www.openwall.com http://www.openwall.com/lists/oss-security/2012/04/20/6
- www.securityfocus.com http://www.securityfocus.com/bid/53166
- www.securitytracker.com http://www.securitytracker.com/id?1027072
- access.redhat.com https://access.redhat.com/security/cve/CVE-2012-2123
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=806722
Show all 26 references
- exchange.xforce.ibmcloud.com https://exchange.xforce.ibmcloud.com/vulnerabilities/75043
- github.com https://github.com/torvalds/linux/commit/d52fc5dde171f030170a6cb78034d166b13c9445
- linux.oracle.com https://linux.oracle.com/cve/CVE-2012-2123.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2012-2020.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2012-2123
- ubuntu.com https://ubuntu.com/security/notices/USN-1445-1
- ubuntu.com https://ubuntu.com/security/notices/USN-1448-1
- ubuntu.com https://ubuntu.com/security/notices/USN-1452-1
- ubuntu.com https://ubuntu.com/security/notices/USN-1453-1
- ubuntu.com https://ubuntu.com/security/notices/USN-1455-1
- ubuntu.com https://ubuntu.com/security/notices/USN-1457-1
- ubuntu.com https://ubuntu.com/security/notices/USN-1459-1
- ubuntu.com https://ubuntu.com/security/notices/USN-1460-1
- ubuntu.com https://ubuntu.com/security/notices/USN-1470-1
- ubuntu.com https://ubuntu.com/security/notices/USN-1530-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2012-2123
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.