CVE Tools

CVE-2025-24032

PAM-PKCS#11 vulnerable to authentication bypass with default value for `cert_policy` (`none`)

Published: Feb 10, 2025Updated: May 21, 2025 Sources: CVE List NVD BDUCWE-287
10.0CVSSCRITICAL

Description

PAM-PKCS#11 is a Linux-PAM login module that allows a X.509 certificate based user login. Prior to version 0.6.13, if cert_policy is set to none (the default value), then pam_pkcs11 will only check if the user is capable of logging into the token. An attacker may create a different token with the user's public data (e.g. the user's certificate) and a PIN known to the attacker. If no signature with the private key is required, then the attacker may now login as user with that created token. The default to *not* check the private key's signature has been changed with commit commi6638576892b59a99389043c90a1e7dd4d783b921, so that all versions starting with pam_pkcs11-0.6.0 should be affected. As a workaround, in `pam_pkcs11.conf`, set at least `cert_policy = signature;`.

CVSS Vector Breakdown

AV:NAC:LC:HI:HA:L
Exploitability
AV:NAccess Vector
Network
AC:LAccess Complexity
Low
Impact
C:HConfidentiality
H
I:HIntegrity
H
A:LAvailability
L

Weaknesses

Affected Products

red hat inc.commercialUSOperating Systemsaka red hat
canonical ltd.commercialGBOperating Systemsaka canonical
сообщество свободного программного обеспеченияoss-projectOperating Systemsaka сообщество свободного программного обеспечения, fsf
and 9 more affected products View all →

Attack Graph

Products CVE Techniques Tactics

Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.

Exploitability

Official Patch Available

MITRE ATT&CK

2 techniques
Initial Access
View detailed technique mapping

References

and 17 more references View all →

Timeline

Published
Feb 10, 2025
Last Updated
May 21, 2025

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2025-24032 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows