6.6
MEDIUM
CVE-2023-40660
OpenSC Token PIN Bypass Vulnerability
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.

INFO

Published Date :

Nov. 6, 2023, 5:15 p.m.

Last Modified :

Dec. 4, 2024, 8:15 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

0.7
Affected Products

The following products are affected by CVE-2023-40660 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
1 Opensc_project opensc
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-40660 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-40660 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Dec. 04, 2024

    Action Type Old Value New Value
    Added CWE CWE-287
    Removed CWE CWE-327
  • CVE Modified by [email protected]

    Nov. 23, 2024

    Action Type Old Value New Value
    Added CWE CWE-327
    Removed CWE CWE-287
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2023/12/13/2
    Added Reference https://access.redhat.com/errata/RHSA-2023:7876
    Added Reference https://access.redhat.com/errata/RHSA-2023:7879
    Added Reference https://access.redhat.com/security/cve/CVE-2023-40660
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2240912
    Added Reference https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651
    Added Reference https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1
    Added Reference https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories
    Added Reference https://lists.debian.org/debian-lts-announce/2023/11/msg00024.html
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/
  • CVE Modified by [email protected]

    Sep. 16, 2024

    Action Type Old Value New Value
    Removed Reference Red Hat, Inc. https://lists.debian.org/debian-lts-announce/2023/11/msg00024.html
    Removed Reference Red Hat, Inc. http://www.openwall.com/lists/oss-security/2023/12/13/2
    Removed Reference Red Hat, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/
    Removed Reference Red Hat, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Dec. 23, 2023

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/ [No types assigned]
  • CVE Modified by [email protected]

    Dec. 22, 2023

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/ [No types assigned]
  • CVE Modified by [email protected]

    Dec. 19, 2023

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7876 [No types assigned]
    Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:7879 [No types assigned]
  • CVE Modified by [email protected]

    Dec. 13, 2023

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. http://www.openwall.com/lists/oss-security/2023/12/13/2 [No types assigned]
  • CVE Modified by [email protected]

    Nov. 27, 2023

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://lists.debian.org/debian-lts-announce/2023/11/msg00024.html [No types assigned]
  • Initial Analysis by [email protected]

    Nov. 14, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type https://access.redhat.com/security/cve/CVE-2023-40660 No Types Assigned https://access.redhat.com/security/cve/CVE-2023-40660 Third Party Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=2240912 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=2240912 Issue Tracking
    Changed Reference Type https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651 No Types Assigned https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651 Issue Tracking
    Changed Reference Type https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1 No Types Assigned https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1 Release Notes
    Changed Reference Type https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories No Types Assigned https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories Vendor Advisory
    Added CWE NIST CWE-287
    Added CPE Configuration OR *cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:* versions up to (including) 0.23.0
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added CWE Red Hat, Inc. CWE-287
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-40660 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.07 }} 0.01%

score

0.31477

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability