Lucene search

K
gentooGentoo FoundationGLSA-200812-09
HistoryDec 10, 2008 - 12:00 a.m.

OpenSC: Insufficient protection of smart card PIN

2008-12-1000:00:00
Gentoo Foundation
security.gentoo.org
7

4.9 Medium

CVSS2

Access Vector

LOCAL

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

COMPLETE

Availability Impact

NONE

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

0.001 Low

EPSS

Percentile

22.8%

Background

OpenSC is a smart card application that allows reading and writing via PKCS#11.

Description

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.

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All OpenSC users should upgrade to the latest version, and then check and update their smart cards:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-libs/opensc-0.11.6"
 # pkcs15-tool --test-update
 # pkcs15-tool --test-update --update
OSVersionArchitecturePackageVersionFilename
Gentooanyalldev-libs/opensc<ย 0.11.6UNKNOWN

4.9 Medium

CVSS2

Access Vector

LOCAL

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

COMPLETE

Availability Impact

NONE

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

0.001 Low

EPSS

Percentile

22.8%