Gentoo Archives: gentoo-announce

From: Robert Buchholz <rbu@g.o>
To: gentoo-announce@l.g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200812-09 ] OpenSC: Insufficient protection of smart card PIN
Date: Wed, 10 Dec 2008 16:55:47
Message-Id: 200812101751.48891.rbu@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200812-09
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: OpenSC: Insufficient protection of smart card PIN
9 Date: December 10, 2008
10 Bugs: #233543
11 ID: 200812-09
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 Smart cards formatted using OpenSC do not sufficiently protect the PIN,
19 allowing attackers to reset it.
20
21 Background
22 ==========
23
24 OpenSC is a smart card application that allows reading and writing via
25 PKCS#11.
26
27 Affected packages
28 =================
29
30 -------------------------------------------------------------------
31 Package / Vulnerable / Unaffected
32 -------------------------------------------------------------------
33 1 dev-libs/opensc < 0.11.6 >= 0.11.6
34
35 Description
36 ===========
37
38 Chaskiel M Grundman reported that OpenSC uses weak permissions (ADMIN
39 file control information of 00) for the 5015 directory on smart cards
40 and USB crypto tokens running Siemens CardOS M4.
41
42 Impact
43 ======
44
45 A physically proximate attacker can exploit this vulnerability to
46 change the PIN on a smart card and use it for authentication, leading
47 to privilege escalation.
48
49 Workaround
50 ==========
51
52 There is no known workaround at this time.
53
54 Resolution
55 ==========
56
57 All OpenSC users should upgrade to the latest version, and then check
58 and update their smart cards:
59
60 # emerge --sync
61 # emerge --ask --oneshot --verbose ">=dev-libs/opensc-0.11.6"
62 # pkcs15-tool --test-update
63 # pkcs15-tool --test-update --update
64
65 References
66 ==========
67
68 [ 1 ] CVE-2008-2235
69 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2235
70
71 Availability
72 ============
73
74 This GLSA and any updates to it are available for viewing at
75 the Gentoo Security Website:
76
77 http://security.gentoo.org/glsa/glsa-200812-09.xml
78
79 Concerns?
80 =========
81
82 Security is a primary focus of Gentoo Linux and ensuring the
83 confidentiality and security of our users machines is of utmost
84 importance to us. Any security concerns should be addressed to
85 security@g.o or alternatively, you may file a bug at
86 http://bugs.gentoo.org.
87
88 License
89 =======
90
91 Copyright 2008 Gentoo Foundation, Inc; referenced text
92 belongs to its owner(s).
93
94 The contents of this document are licensed under the
95 Creative Commons - Attribution / Share Alike license.
96
97 http://creativecommons.org/licenses/by-sa/2.5

Attachments

File name MIME type
signature.asc application/pgp-signature