GLSA-200812-09 : OpenSC: Insufficient protection of smart card PIN

medium Nessus Plugin ID 35084

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200812-09 (OpenSC: Insufficient protection of smart card PIN)

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.

Solution

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

See Also

https://security.gentoo.org/glsa/200812-09

Plugin Details

Severity: Medium

ID: 35084

File Name: gentoo_GLSA-200812-09.nasl

Version: 1.15

Type: local

Published: 12/11/2008

Updated: 1/6/2021

Supported Sensors: 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:gentoo:linux:opensc, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 12/10/2008

Reference Information

CVE: CVE-2008-2235

CWE: 310

GLSA: 200812-09