Cyber Security News

Yubico PAM Module Vulnerability Let Attackers Bypass Authentications In Certain Configurations

A leading provider of hardware authentication security keys, Yubico has recently disclosed a significant vulnerability in its PAM (Pluggable Authentication Module) software package.

The flaw was identified as “CVE-2025-23013,” could potentially allow attackers to evade the authentication in certain configurations.

The security issue affects the “pam-u2f” software package versions prior to 1.3.1.

This open-source module is designed to support authentication using YubiKeys or other FIDO-compliant authenticators on macOS and Linux systems.

Researchers at Yubico noted all the key points of the vulnerability:-

  1. The flaw resides in the implementation of the pam_sm_authenticate() function.
  2. Under specific conditions, such as memory allocation failures or privilege change issues, the module returns PAM_IGNORE.
  3. When PAM_IGNORE is returned, the module does not contribute to the final authentication decision.
  4. In configurations with the “nouserok” option enabled, PAM_SUCCESS is returned if the pam-u2f file is missing or corrupted.

Investigate Real-World Malicious Links & Phishing Attacks With Threat Intelligence Lookup - Try for Free

Impact and Severity

Yubico has rated this vulnerability as “High” with a CVSS score of 7.3. The impact varies depending on the specific configuration:-

  1. In scenarios where pam-u2f is used as a single-factor authentication method with user-managed authfiles, attackers could potentially achieve local privilege escalation.
  2. For centrally managed authfiles with pam-u2f as a second-factor authentication, the second factor might be bypassed during authentication events.

Yubico strongly recommends that affected customers take the following actions:-

  1. Upgrade to the latest version of pam-u2f, either by downloading directly from GitHub or updating via the Yubico PPA.
  2. For libpam users, an alternative solution is to disable the “nouserok” option and mark “ignore” control values with the action “bad” for all pam-u2f references in the PAM stack.

It’s important to note that no Yubico hardware devices are affected by this vulnerability. This includes all generations of:-

  • YubiKey Series
  • YubiKey FIPS Series
  • Security Key Series
  • YubiHSM
  • YubiHSM FIPS devices

The vulnerability was responsibly disclosed to Yubico by Matthias Gerstner from the SUSE security team on November 11, 2024. Yubico has since worked promptly to address the issue and release this advisory.

Integrating Application Security into Your CI/CD Workflows Using Jenkins & Jira -> Free Webinar

Tushar Subhra Dutta

Tushar is a senior cybersecurity and breach reporter. He specializes in covering cybersecurity news, trends, and emerging threats, data breaches, and malware attacks. With years of experience, he brings clarity and depth to complex security topics.

Recent Posts

Hackers Target AI Infrastructure With RCE, Prompt Injection and API Key Theft

Hackers are actively probing AI systems, turning exposed gateways and agent tools into routes for…

4 hours ago

Hackers Make Phishing Pages Change Their Code Every Time Someone Opens Them

Hackers are making some phishing pages harder to track by changing the code delivered to…

4 hours ago

Iran-Linked Hackers Reportedly Knock UK Power Plant Offline for Four Days

A cyber incident reportedly forced a British power plant to halt operations for about four…

5 hours ago

Russian Hackers Use New HOOKEDGE Malware to Spy on European Defense and Diplomatic Targets

Russian hackers have used a new backdoor called HOOKEDGE to target defense manufacturers, government bodies,…

6 hours ago

Ransomware Gang Claims AI Can Analyze 700GB of Stolen Data Every Hour

TITAN ransomware is pairing file encryption with an ambitious claim: artificial intelligence that can sort…

6 hours ago

Hackers Compromise Hundreds of WordPress Sites to Deploy Amatera Stealer via ClickFix

A fake student resume is being used to place a remote-access tool on researchers’ Windows…

7 hours ago