Vulnerability identifier: #VU106019
Vulnerability risk: High
CVSSv4.0: 6.9 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Amber]
CVE-ID:
CWE-ID:
CWE-287
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
pam_pkcs11
Other software /
Other software solutions
Vendor: OpenSC
Description
The vulnerability allows a remote attacker to bypass authentication process.
The vulnerability exists due to the default cert_policy value is set to "none". A remote attacker can forge a token and bypass authentication process.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
pam_pkcs11: 0.5.2 - 0.6.12
External links
https://github.com/OpenSC/pam_pkcs11/commit/470263258d1ac59c5eade439c4d9caba0097e6e6
https://github.com/OpenSC/pam_pkcs11/commit/b665b287ff955bbbd9539252ff9f9e2754c3fb48
https://github.com/OpenSC/pam_pkcs11/commit/d9530167966a77115db6e885d459382a2e52ee9e
https://github.com/OpenSC/pam_pkcs11/releases/tag/pam_pkcs11-0.6.13
https://github.com/OpenSC/pam_pkcs11/security/advisories/GHSA-8r8p-7mgp-vf56
https://lists.debian.org/debian-lts-announce/2025/02/msg00021.html
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.