CVE-2012-2123

critical

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.

References

https://github.com/torvalds/linux/commit/d52fc5dde171f030170a6cb78034d166b13c9445

https://exchange.xforce.ibmcloud.com/vulnerabilities/75043

https://bugzilla.redhat.com/show_bug.cgi?id=806722

http://www.securitytracker.com/id?1027072

http://www.securityfocus.com/bid/53166

http://www.openwall.com/lists/oss-security/2012/04/20/6

http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.3.3

http://www.debian.org/security/2012/dsa-2469

http://rhn.redhat.com/errata/RHSA-2012-0743.html

http://rhn.redhat.com/errata/RHSA-2012-0670.html

Details

Source: Mitre, NVD

Published: 2012-05-17

Updated: 2023-10-12

Risk Information

CVSS v2

Base Score: 7.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical