summaryrefslogtreecommitdiff
blob: 40e3e2b122c00d073ec0bfdcf298859add3f8142 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200812-09">
  <title>OpenSC: Insufficient protection of smart card PIN</title>
  <synopsis>
    Smart cards formatted using OpenSC do not sufficiently protect the PIN,
    allowing attackers to reset it.
  </synopsis>
  <product type="ebuild">opensc</product>
  <announced>2008-12-10</announced>
  <revised count="01">2008-12-10</revised>
  <bug>233543</bug>
  <access>local</access>
  <affected>
    <package name="dev-libs/opensc" auto="yes" arch="*">
      <unaffected range="ge">0.11.6</unaffected>
      <vulnerable range="lt">0.11.6</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    OpenSC is a smart card application that allows reading and writing via
    PKCS#11.
    </p>
  </background>
  <description>
    <p>
    Chaskiel M Grundman reported that OpenSC uses weak permissions (ADMIN
    file control information of 00) for the 5015 directory on smart cards
    and USB crypto tokens running Siemens CardOS M4.
    </p>
  </description>
  <impact type="normal">
    <p>
    A physically proximate attacker can exploit this vulnerability to
    change the PIN on a smart card and use it for authentication, leading
    to privilege escalation.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All OpenSC users should upgrade to the latest version, and then check
    and update their smart cards:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=dev-libs/opensc-0.11.6"
    # pkcs15-tool --test-update
    # pkcs15-tool --test-update --update</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2235">CVE-2008-2235</uri>
  </references>
  <metadata tag="requester" timestamp="2008-11-26T18:58:19Z">
    rbu
  </metadata>
  <metadata tag="submitter" timestamp="2008-11-26T19:57:21Z">
    rbu
  </metadata>
  <metadata tag="bugReady" timestamp="2008-11-26T19:57:53Z">
    rbu
  </metadata>
</glsa>