CVE-2023-40660
Executive Summary
CVE-2023-40660 exposes a flaw in OpenSC where an empty PIN allows a token authenticated in one process to perform cryptographic operations in other processes. This bypass can be leveraged to gain unauthorized access to OS logon, screen unlock, or any privileged operation, enabling attackers to execute malicious actions or compromise systems without user awareness. The vulnerability is particularly dangerous for permanently connected tokens and can be exploited to track login status internally.
Authoritative CVE Metadata
- CVSS Base Score: 6.6 (MEDIUM)
- Last Modified: 06-11-26
Original Description
A flaw was found in OpenSC packages that allow a potential PIN bypass. When a token/card is authenticated by one process, it can perform cryptographic operations in other processes when an empty zero-length pin is passed. This issue poses a security risk, particularly for OS logon/screen unlock and for small, permanently connected tokens to computers. Additionally, the token can internally track login status. This flaw allows an attacker to gain unauthorized access, carry out malicious actions, or compromise the system without the user's awareness.