Gentoo Archives: gentoo-announce

From: Pierre-Yves Rofes <py@g.o>
To: gentoo-announce@l.g.o
Cc: full-disclosure@××××××××××××××.uk, bugtraq@×××××××××××××.com, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200903-39 ] pam_krb5: Privilege escalation
Date: Wed, 25 Mar 2009 22:45:37
Message-Id: 49CAB3FD.5020509@gentoo.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
5 Gentoo Linux Security Advisory GLSA 200903-39
6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
7 http://security.gentoo.org/
8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
9
10 Severity: High
11 Title: pam_krb5: Privilege escalation
12 Date: March 25, 2009
13 Bugs: #257075
14 ID: 200903-39
15
16 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
17
18 Synopsis
19 ========
20
21 Two vulnerabilities in pam_krb5 might allow local users to elevate
22 their privileges or overwrite arbitrary files.
23
24 Background
25 ==========
26
27 pam_krb5 is a a Kerberos v5 PAM module.
28
29 Affected packages
30 =================
31
32 -------------------------------------------------------------------
33 Package / Vulnerable / Unaffected
34 -------------------------------------------------------------------
35 1 sys-auth/pam_krb5 < 3.12 >= 3.12
36
37 Description
38 ===========
39
40 The following vulnerabilities were discovered:
41
42 * pam_krb5 does not properly initialize the Kerberos libraries for
43 setuid use (CVE-2009-0360).
44
45 * Derek Chan reported that calls to pam_setcred() are not properly
46 handled when running setuid (CVE-2009-0361).
47
48 Impact
49 ======
50
51 A local attacker could set an environment variable to point to a
52 specially crafted Kerberos configuration file and launch a PAM-based
53 setuid application to elevate privileges, or change ownership and
54 overwrite arbitrary files.
55
56 Workaround
57 ==========
58
59 There is no known workaround at this time.
60
61 Resolution
62 ==========
63
64 All pam_krb5 users should upgrade to the latest version:
65
66 # emerge --sync
67 # emerge --ask --oneshot --verbose ">=sys-auth/pam_krb5-3.12"
68
69 References
70 ==========
71
72 [ 1 ] CVE-2009-0360
73 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0360
74 [ 2 ] CVE-2009-0361
75 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0361
76
77 Availability
78 ============
79
80 This GLSA and any updates to it are available for viewing at
81 the Gentoo Security Website:
82
83 http://security.gentoo.org/glsa/glsa-200903-39.xml
84
85 Concerns?
86 =========
87
88 Security is a primary focus of Gentoo Linux and ensuring the
89 confidentiality and security of our users machines is of utmost
90 importance to us. Any security concerns should be addressed to
91 security@g.o or alternatively, you may file a bug at
92 http://bugs.gentoo.org.
93
94 License
95 =======
96
97 Copyright 2009 Gentoo Foundation, Inc; referenced text
98 belongs to its owner(s).
99
100 The contents of this document are licensed under the
101 Creative Commons - Attribution / Share Alike license.
102
103 http://creativecommons.org/licenses/by-sa/2.5
104
105
106 -----BEGIN PGP SIGNATURE-----
107 Version: GnuPG v2.0.9 (GNU/Linux)
108 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
109
110 iEYEARECAAYFAknKs/0ACgkQuhJ+ozIKI5jOHwCaAwO8UYwZpuUSFbW06x0CHksa
111 S9MAnjcv5ikl2dRFVyuG0/TXQZF0y3ER
112 =ACuG
113 -----END PGP SIGNATURE-----