Debian DSA-1627-2 : opensc - programming error

medium Nessus Plugin ID 33826

Synopsis

The remote Debian host is missing a security-related update.

Description

Chaskiel M Grundman discovered that opensc, a library and utilities to handle smart cards, would initialise smart cards with the Siemens CardOS M4 card operating system without proper access rights. This allowed everyone to change the card's PIN.

With this bug anyone can change a user PIN without having the PIN or PUK or the superusers PIN or PUK. However it can not be used to figure out the PIN. If the PIN on your card is still the same you always had, there's a reasonable chance that this vulnerability has not been exploited.

This vulnerability affects only smart cards and USB crypto tokens based on Siemens CardOS M4, and within that group only those that were initialised with OpenSC. Users of other smart cards and USB crypto tokens, or cards that have been initialised with some software other than OpenSC, are not affected.

After upgrading the package, runningpkcs15-tool -Twill show you whether the card is fine or vulnerable. If the card is vulnerable, you need to update the security setting using:pkcs15-tool -T -U.

Solution

Upgrade the opensc package and check the card(s) with the command described above.

For the stable distribution (etch), this problem has been fixed in version 0.11.1-2etch2.

See Also

https://www.debian.org/security/2008/dsa-1627

Plugin Details

Severity: Medium

ID: 33826

File Name: debian_DSA-1627.nasl

Version: 1.18

Type: local

Agent: unix

Published: 8/5/2008

Updated: 1/4/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.4

CVSS v2

Risk Factor: Medium

Base Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:C/A:N

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:opensc, cpe:/o:debian:debian_linux:4.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Patch Publication Date: 8/4/2008

Reference Information

CVE: CVE-2008-2235

CWE: 310

DSA: 1627