Skip to main content
Vulnerability Database/CVE-2024-37408

CVE-2024-37408: fprintd Authentication Bypass Vulnerability

CVE-2024-37408 is an authentication bypass flaw in fprintd that allows unauthorized actions through PAM fingerprint authentication. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-37408 Overview

CVE-2024-37408 affects fprintd through version 1.94.3, a Linux fingerprint authentication daemon. The daemon lacks a security attention mechanism when used with pam_fprintd.so in PAM (Pluggable Authentication Modules) configurations such as Sudo. Without an explicit user attention signal, unexpected actions may be authorized when a fingerprint reader passively captures a print. The supplier disputes the issue, arguing that resolution requires PAM configuration changes rather than modifications to pam_fprintd.so or fprintd itself. The flaw is categorized under [CWE-287] Improper Authentication.

Critical Impact

Local attackers with physical proximity to a fingerprint reader may trigger privileged actions through Sudo without an explicit user-initiated authentication prompt.

Affected Products

  • fprintd versions through 1.94.3
  • Linux distributions shipping pam_fprintd.so in Sudo PAM stacks
  • Systems using auth sufficient pam_fprintd.so configuration directives

Discovery Timeline

  • 2024-06-08 - CVE-2024-37408 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-37408

Vulnerability Analysis

The vulnerability arises from a design gap between fprintd and PAM front-ends that invoke it. A security attention mechanism is a deliberate user signal, such as pressing a key or acknowledging a prompt, that confirms the user intends to authenticate. Without this signal, a fingerprint reader may passively capture and accept a print that was not provided for the current authentication request.

When pam_fprintd.so is listed as auth sufficient in Sudo's PAM configuration, a successful fingerprint match alone authorizes the elevated action. A user whose finger happens to be on the reader, or whose earlier scan is reused, may trigger Sudo authorizations they did not intend. The supplier maintains that fprintd operates correctly and that PAM configurations should restrict pam_fprintd.so to front-ends that implement a proper attention mechanism.

Root Cause

The root cause is the absence of an explicit user-intent signal in the fingerprint authentication flow. fprintd treats any valid print as an authorization event, independent of whether the user initiated the current PAM transaction. This design assumption fails when the invoking front-end, such as command-line Sudo, provides no attention mechanism of its own.

Attack Vector

Exploitation requires local access and user interaction, consistent with the local attack vector. An attacker with physical proximity to a workstation running Sudo under pam_fprintd.so could invoke a privileged command and have it authorized by a legitimate user's unrelated fingerprint scan. See the Openwall OSS Security Advisory and the Freedesktop fprint Mailing List Post for the original discussion.

No verified exploit code is available for this issue. Review the referenced advisories for technical details.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2024-37408

Indicators of Compromise

  • Unexpected Sudo authorizations logged in /var/log/auth.log or /var/log/secure without a corresponding interactive prompt
  • pam_fprintd success events in audit logs that do not correlate with a user-initiated Sudo invocation
  • Repeated fingerprint-based authentications in rapid succession from the same reader

Detection Strategies

  • Audit PAM stacks on managed Linux endpoints for auth sufficient pam_fprintd.so entries in /etc/pam.d/sudo and related files
  • Correlate fprintd D-Bus activity with Sudo command invocations to flag authorizations lacking a matching user action
  • Monitor for privilege escalation events that occur outside active user sessions

Monitoring Recommendations

  • Forward authentication and sudo logs to a centralized log analytics or SIEM platform for correlation
  • Alert on pam_fprintd authentication successes paired with unexpected process execution under elevated privileges
  • Track changes to files under /etc/pam.d/ to detect configuration drift that reintroduces the risky directive

How to Mitigate CVE-2024-37408

Immediate Actions Required

  • Review /etc/pam.d/sudo and remove or replace auth sufficient pam_fprintd.so where no attention mechanism exists
  • Restrict fingerprint-based PAM authentication to graphical front-ends that implement an explicit user prompt
  • Require password authentication for Sudo on servers and headless systems that lack an interactive attention signal

Patch Information

The supplier disputes CVE-2024-37408 and does not plan to modify pam_fprintd.so or fprintd in response. Resolution is expected through PAM configuration changes by distributions and administrators. Monitor the Freedesktop fprintd Release Notes for any upstream updates.

Workarounds

  • Remove pam_fprintd.so from the Sudo PAM stack and rely on password or hardware-token authentication
  • Chain fingerprint authentication with a second factor by changing sufficient to required alongside another authentication module
  • Disable the fprintd service on systems where fingerprint authentication is not a documented requirement
bash
# Example: harden /etc/pam.d/sudo by commenting out pam_fprintd
# auth    sufficient   pam_fprintd.so
auth       required     pam_unix.so

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.