CVE-2009-1895

HIGH

Description

The personality subsystem in the Linux kernel before 2.6.31-rc3 has a PER_CLEAR_ON_SETID setting that does not clear the ADDR_COMPAT_LAYOUT and MMAP_PAGE_ZERO flags when executing a setuid or setgid program, which makes it easier for local users to leverage the details of memory usage to (1) conduct NULL pointer dereference attacks, (2) bypass the mmap_min_addr protection mechanism, or (3) defeat address space layout randomization (ASLR).

References

http://blog.cr0.org/2009/06/bypassing-linux-null-pointer.html

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f9fabcb58a6d26d6efde842d1703ac7cfa9427b6

http://patchwork.kernel.org/patch/32598/

http://secunia.com/advisories/35801

http://secunia.com/advisories/36045

http://secunia.com/advisories/36051

http://secunia.com/advisories/36054

http://secunia.com/advisories/36116

http://secunia.com/advisories/36131

http://secunia.com/advisories/36759

http://secunia.com/advisories/37471

http://wiki.rpath.com/Advisories:rPSA-2009-0111

http://www.debian.org/security/2009/dsa-1844

http://www.debian.org/security/2009/dsa-1845

http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.31-rc3

http://www.mandriva.com/security/advisories?name=MDVSA-2011:051

http://www.osvdb.org/55807

http://www.redhat.com/support/errata/RHSA-2009-1193.html

http://www.redhat.com/support/errata/RHSA-2009-1438.html

http://www.securityfocus.com/archive/1/505254/100/0/threaded

http://www.securityfocus.com/archive/1/507985/100/0/threaded

http://www.securityfocus.com/archive/1/512019/100/0/threaded

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

http://www.ubuntu.com/usn/usn-807-1

http://www.vmware.com/security/advisories/VMSA-2009-0016.html

http://www.vupen.com/english/advisories/2009/1866

http://www.vupen.com/english/advisories/2009/3316

https://bugs.launchpad.net/bugs/cve/2009-1895

https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11768

https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7826

https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9453

https://rhn.redhat.com/errata/RHSA-2009-1540.html

https://rhn.redhat.com/errata/RHSA-2009-1550.html

https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00166.html

https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00223.html

Details

Source: MITRE

Published: 2009-07-16

Updated: 2018-11-08

Type: CWE-16

Risk Information

CVSS v2.0

Base Score: 7.2

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

Impact Score: 10

Exploitability Score: 3.9

Severity: HIGH