pam-krb5 Local Privilege Escalation Vulnerability
BID:33740
Info
pam-krb5 Local Privilege Escalation Vulnerability
| Bugtraq ID: | 33740 |
| Class: | Design Error |
| CVE: |
CVE-2009-0360 |
| Remote: | No |
| Local: | Yes |
| Published: | Feb 11 2009 12:00AM |
| Updated: | Dec 23 2014 11:53PM |
| Credit: | Russ Allbery |
| Vulnerable: |
Ubuntu Ubuntu Linux 8.10 sparc Ubuntu Ubuntu Linux 8.10 powerpc Ubuntu Ubuntu Linux 8.10 lpia Ubuntu Ubuntu Linux 8.10 i386 Ubuntu Ubuntu Linux 8.10 amd64 Ubuntu Ubuntu Linux 8.04 LTS sparc Ubuntu Ubuntu Linux 8.04 LTS powerpc Ubuntu Ubuntu Linux 8.04 LTS lpia Ubuntu Ubuntu Linux 8.04 LTS i386 Ubuntu Ubuntu Linux 8.04 LTS amd64 Ubuntu Ubuntu Linux 7.10 sparc Ubuntu Ubuntu Linux 7.10 powerpc Ubuntu Ubuntu Linux 7.10 lpia Ubuntu Ubuntu Linux 7.10 i386 Ubuntu Ubuntu Linux 7.10 amd64 Ubuntu Ubuntu Linux 7.04 sparc Ubuntu Ubuntu Linux 7.04 powerpc Ubuntu Ubuntu Linux 7.04 i386 Ubuntu Ubuntu Linux 7.04 amd64 Ubuntu Ubuntu Linux 6.10 sparc Ubuntu Ubuntu Linux 6.10 powerpc Ubuntu Ubuntu Linux 6.10 i386 Ubuntu Ubuntu Linux 6.10 amd64 Ubuntu Ubuntu Linux 6.06 LTS sparc Ubuntu Ubuntu Linux 6.06 LTS powerpc Ubuntu Ubuntu Linux 6.06 LTS i386 Ubuntu Ubuntu Linux 6.06 LTS amd64 Sun Solaris 9_x86 Sun Solaris 9_sparc Sun Solaris 8_x86 Sun Solaris 8_sparc Sun Solaris 10_x86 Sun Solaris 10_sparc Sun SEAM 1.0.1 Sun OpenSolaris build snv_99 Sun OpenSolaris build snv_96 Sun OpenSolaris build snv_95 Sun OpenSolaris build snv_92 Sun OpenSolaris build snv_91 Sun OpenSolaris build snv_90 Sun OpenSolaris build snv_89 Sun OpenSolaris build snv_88 Sun OpenSolaris build snv_87 Sun OpenSolaris build snv_86 Sun OpenSolaris build snv_85 Sun OpenSolaris build snv_84 Sun OpenSolaris build snv_83 Sun OpenSolaris build snv_82 Sun OpenSolaris build snv_81 Sun OpenSolaris build snv_80 Sun OpenSolaris build snv_78 Sun OpenSolaris build snv_77 Sun OpenSolaris build snv_76 Sun OpenSolaris build snv_68 Sun OpenSolaris build snv_67 Sun OpenSolaris build snv_64 Sun OpenSolaris build snv_61 Sun OpenSolaris build snv_59 Sun OpenSolaris build snv_57 Sun OpenSolaris build snv_50 Sun OpenSolaris build snv_39 Sun OpenSolaris build snv_36 Sun OpenSolaris build snv_29 Sun OpenSolaris build snv_22 Sun OpenSolaris build snv_19 Sun OpenSolaris build snv_13 Sun OpenSolaris build snv_108 Sun OpenSolaris build snv_107 Sun OpenSolaris build snv_106 Sun OpenSolaris build snv_105 Sun OpenSolaris build snv_104 Sun OpenSolaris build snv_103 Sun OpenSolaris build snv_102 Sun OpenSolaris build snv_101a Sun OpenSolaris build snv_101 Sun OpenSolaris build snv_100 Sun OpenSolaris build snv_02 Sun OpenSolaris build snv_01 Sun OpenSolaris 0 Russ Allbery pam-krb5 0 Pardus Linux 2008 0 HP HP-UX B.11.31 HP HP-UX B.11.23 HP HP-UX B.11.11 Gentoo Linux Debian Linux 3.1 sparc Debian Linux 3.1 s/390 Debian Linux 3.1 ppc Debian Linux 3.1 mipsel Debian Linux 3.1 mips Debian Linux 3.1 m68k Debian Linux 3.1 ia-64 Debian Linux 3.1 ia-32 Debian Linux 3.1 hppa Debian Linux 3.1 arm Debian Linux 3.1 amd64 Debian Linux 3.1 alpha Debian Linux 3.1 Debian Linux 3.0 sparc Debian Linux 3.0 s/390 Debian Linux 3.0 ppc Debian Linux 3.0 mipsel Debian Linux 3.0 mips Debian Linux 3.0 m68k Debian Linux 3.0 ia-64 Debian Linux 3.0 ia-32 Debian Linux 3.0 hppa Debian Linux 3.0 arm Debian Linux 3.0 alpha Debian Linux 3.0 Debian Linux 4.0 sparc Debian Linux 4.0 s/390 Debian Linux 4.0 powerpc Debian Linux 4.0 mipsel Debian Linux 4.0 mips Debian Linux 4.0 m68k Debian Linux 4.0 ia-64 Debian Linux 4.0 ia-32 Debian Linux 4.0 hppa Debian Linux 4.0 arm Debian Linux 4.0 amd64 Debian Linux 4.0 alpha Debian Linux 4.0 Avaya CMS Server 13.0 Avaya CMS Server 15.0 Avaya CMS Server 14.1 Avaya CMS Server 14.0 Avaya CMS Server 13.1 |
| Not Vulnerable: |
Russ Allbery pam-krb5 3.13 |
Discussion
pam-krb5 Local Privilege Escalation Vulnerability
The 'pam-krb5' library is prone to a local privilege-escalation vulnerability because it fails to properly handle setuid processes.
Local attackers may exploit this issue to gain elevated privileges, which may lead to a complete compromise of the system.
This issue affects pam-krb5 as shipped with Debian, Ubuntu, and Gentoo Linux releases; other versions may also be vulnerable.
The 'pam-krb5' library is prone to a local privilege-escalation vulnerability because it fails to properly handle setuid processes.
Local attackers may exploit this issue to gain elevated privileges, which may lead to a complete compromise of the system.
This issue affects pam-krb5 as shipped with Debian, Ubuntu, and Gentoo Linux releases; other versions may also be vulnerable.
Exploit / POC
pam-krb5 Local Privilege Escalation Vulnerability
An exploit is available:
An exploit is available:
Solution / Fix
pam-krb5 Local Privilege Escalation Vulnerability
Solution:
Updates are available. Please see the references for more information.
Debian Linux 4.0 amd64
Debian Linux 4.0 ia-32
Debian Linux 4.0 mips
Debian Linux 4.0 arm
Debian Linux 4.0 powerpc
HP HP-UX B.11.23
HP HP-UX B.11.11
Debian Linux 4.0 sparc
Debian Linux 4.0 hppa
Solution:
Updates are available. Please see the references for more information.
Debian Linux 4.0 amd64
-
Debian libpam-krb5_2.6-1etch1_amd64.deb
http://security.debian.org/pool/updates/main/libp/libpam-krb5/libpam-k rb5_2.6-1etch1_amd64.deb
Debian Linux 4.0 ia-32
-
Debian libpam-krb5_2.6-1etch1_i386.deb
http://security.debian.org/pool/updates/main/libp/libpam-krb5/libpam-k rb5_2.6-1etch1_i386.deb
Debian Linux 4.0 mips
-
Debian libpam-krb5_2.6-1etch1_mips.deb
http://security.debian.org/pool/updates/main/libp/libpam-krb5/libpam-k rb5_2.6-1etch1_mips.deb
Debian Linux 4.0 arm
-
Debian libpam-krb5_2.6-1etch1_arm.deb
http://security.debian.org/pool/updates/main/libp/libpam-krb5/libpam-k rb5_2.6-1etch1_arm.deb
Debian Linux 4.0 powerpc
-
Debian libpam-krb5_2.6-1etch1_powerpc.deb
http://security.debian.org/pool/updates/main/libp/libpam-krb5/libpam-k rb5_2.6-1etch1_powerpc.deb
HP HP-UX B.11.23
-
HP PAMKerberos_C.01.25_HP-UX_B.11.23_IA_PA.depot
http://software.hp.com
HP HP-UX B.11.11
-
HP PAMKerberos_B.11.11.16_HP-UX_B.11.11_32_64.depot
http://software.hp.com
Debian Linux 4.0 sparc
-
Debian libpam-krb5_2.6-1etch1_sparc.deb
http://security.debian.org/pool/updates/main/libp/libpam-krb5/libpam-k rb5_2.6-1etch1_sparc.deb
Debian Linux 4.0 hppa
-
Debian libpam-krb5_2.6-1etch1_hppa.deb
http://security.debian.org/pool/updates/main/libp/libpam-krb5/libpam-k rb5_2.6-1etch1_hppa.deb
References
pam-krb5 Local Privilege Escalation Vulnerability
References:
References:
- PAM module for MIT Kerberos (Debian)
- pam-krb5 security advisory (3.12 and earlier) (Russ Allbery
) - Re: pam-krb5 security advisory (3.12 and earlier) (Tim Skirvin
) - ASA-2009-070 (SUN 252767) (Avaya)
- Solution 252767: A Security Vulnerability in the Solaris Kerberos PAM Module (Sun)