CVE-2025-23013
NoneCVSS
—
EPSS
0.4%
Published
Jan 15, 2025
CISA due date
—
Cloudanix analysis
A flaw in some YubiKey login software on computers can let someone already on the machine take full control without proper approval.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- Library
- Class
- Authentication Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Authentication bypass in pam-u2f PAM module allowing local privilege escalation to root in certain configurations when using FIDO authenticators on Linux or macOS.
Why it matters to the business
Unprivileged local users may gain full system control, leading to complete compromise of affected authentication setups and potential ransomware or data theft impact.
How an attack unfolds
An attacker with local unprivileged access crafts or manipulates the authentication flow against a misconfigured pam-u2f installation to bypass the second factor check, escalating to root without valid credentials beyond an optional password.
How to fix it
Upgrade pam-u2f to version 1.3.1 or later. Review PAM configuration files for secure settings and test authentication flows after update.
How to confirm the fix worked
Verify pam-u2f version is at least 1.3.1, review PAM stack configuration for the reported bypass conditions, and confirm successful FIDO authentication requires the authenticator.
Typical attack path
- Obtain local unprivileged shell on target system
- Identify pam-u2f configuration and module version below 1.3.1
- Trigger authentication path that bypasses FIDO verification
- Escalate to root privileges via the bypassed PAM stack
How to detect it
Review authentication logs for unexpected root logins or PAM module errors around pam-u2f, inspect process execution of su/sudo following local user sessions, and check for version strings of pam-u2f below 1.3.1 on disk.
- /usr/lib/security/pam_u2f.so
- pam_u2f version < 1.3.1
- unexpected sudo or su execution after local login
What your security team should do
- Immediately upgrade pam-u2f to 1.3.1 across all Linux and macOS systems
- Audit PAM configurations for affected modules and restrict local user access where possible
- Monitor for unexpected privilege escalations from unprivileged accounts
The record
In Yubico pam-u2f before 1.3.1, local privilege escalation can sometimes occur. This product implements a Pluggable Authentication Module (PAM) that can be deployed to support authentication using a YubiKey or other FIDO compliant authenticators on macOS or Linux. This software package has an issue that allows for an authentication bypass in some configurations. An attacker would require the ability to access the system as an unprivileged user. Depending on the configuration, the attacker may also need to know the user's password.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | pam-u2f | 0 | No fix |
| Debian:11 | pam-u2f | 0 | 1.1.0-1.1+deb11u1 |
| Debian:12 | pam-u2f | 0 | No fix |
| Debian:12 | pam-u2f | 0 | 1.1.0-1.1+deb12u1 |
| Debian:13 | pam-u2f | 0 | No fix |
| SUSE:Enterprise Storage 7.1 | pam_u2f | 0 | 1.0.8-150000.3.6.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | pam_u2f | 0 | 1.0.8-150000.3.6.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | pam_u2f | 0 | 1.2.0-150400.4.5.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | pam_u2f | 0 | 1.2.0-150400.4.5.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | pam_u2f | 0 | 1.2.0-150400.4.5.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | pam_u2f | 0 | 1.2.0-150400.4.5.1 |
| SUSE:Linux Enterprise Micro 5.3 | pam_u2f | 0 | 1.2.0-150400.4.5.1 |
| SUSE:Linux Enterprise Micro 5.4 | pam_u2f | 0 | 1.2.0-150400.4.5.1 |
| SUSE:Linux Enterprise Micro 5.5 | pam_u2f | 0 | 1.2.0-150400.4.5.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | pam_u2f | 0 | 1.2.0-150600.10.5.1 |
| SUSE:Linux Enterprise Server 12 SP5-LTSS | pam_u2f | 0 | 1.0.8-3.6.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | pam_u2f | 0 | 1.0.8-150000.3.6.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | pam_u2f | 0 | 1.2.0-150400.4.5.1 |
| SUSE:Linux Enterprise Server 15 SP5-LTSS | pam_u2f | 0 | 1.2.0-150400.4.5.1 |
| SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | pam_u2f | 0 | 1.0.8-3.6.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | pam_u2f | 0 | 1.0.8-150000.3.6.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | pam_u2f | 0 | 1.2.0-150400.4.5.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP5 | pam_u2f | 0 | 1.2.0-150400.4.5.1 |
| SUSE:Manager Proxy 4.3 | pam_u2f | 0 | 1.2.0-150400.4.5.1 |
| SUSE:Manager Server 4.3 | pam_u2f | 0 | 1.2.0-150400.4.5.1 |
| Ubuntu:16.04:LTS | pam-u2f | 0 | No fix |
| Ubuntu:18.04:LTS | pam-u2f | 0 | No fix |
| Ubuntu:20.04:LTS | pam-u2f | 0 | No fix |
| Ubuntu:22.04:LTS | pam-u2f | 0 | No fix |
| Ubuntu:22.04:LTS | pam-u2f | 0 | 1.1.0-1.1+deb12u1build0.22.04.1 |
| Ubuntu:24.04:LTS | pam-u2f | 0 | No fix |
| Ubuntu:24.04:LTS | pam-u2f | 0 | 1.1.0-1.1+deb12u1build0.24.04.1 |
| Ubuntu:24.10 | pam-u2f | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | pam-u2f | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | pam-u2f | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | pam-u2f | 0 | 1.0.8-1ubuntu0.1~esm1 |
| openSUSE:Leap 15.6 | pam_u2f | 0 | 1.2.0-150600.10.5.1 |
| openSUSE:Tumbleweed | pam_u2f | 0 | 1.3.1-1.1 |
Related vulnerabilities
- CVE-2026-73064 In Mbed TLS 3.2.0 though 3.6.6 and 4.0.0 through 4.1.0, an attacker who can cause an… CWE-394
- CVE-2026-76956 In libexpat 2.8.2 and 2.8.3 before 2.8.4, misinterpretation of getentropy's return code… CWE-394
- CVE-2026-25085 A vulnerability exists in Copeland XWEB Pro version 1.12.1 and prior, in which an… CWE-394
- CVE-2024-1713 A user who can create objects in a database with plv8 3.2.1 installed is able to cause… CWE-394