Joined: 12 May 2004
|Posted: Wed Dec 10, 2008 5:26 pm Post subject: [ GLSA 200812-09 ] OpenSC: Insufficient protection of smart
|Gentoo Linux Security Advisory
Title: OpenSC: Insufficient protection of smart card PIN (GLSA 200812-09)
Date: December 10, 2008
Smart cards formatted using OpenSC do not sufficiently protect the PIN, allowing attackers to reset it.
OpenSC is a smart card application that allows reading and writing via PKCS#11.
Vulnerable: < 0.11.6
Unaffected: >= 0.11.6
Architectures: All supported architectures
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.
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.
There is no known workaround at this time.
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