<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Pam_userdb on ZX Cloud Security</title><link>https://zxcloudsecurity.co.uk/tags/pam_userdb/</link><description>Recent content in Pam_userdb on ZX Cloud Security</description><generator>Hugo</generator><language>en-GB</language><lastBuildDate>Mon, 16 Jun 2025 08:01:29 +0000</lastBuildDate><atom:link href="https://zxcloudsecurity.co.uk/tags/pam_userdb/index.xml" rel="self" type="application/rss+xml"/><item><title>CVE-2026-54411: Linux-PAM Timing Attack Exposes Passwords</title><link>https://zxcloudsecurity.co.uk/posts/linux-pam-timing-side-channel-plaintext-password-cve-2026-54411/</link><pubDate>Tue, 16 Jun 2026 08:01:29 +0000</pubDate><guid>https://zxcloudsecurity.co.uk/posts/linux-pam-timing-side-channel-plaintext-password-cve-2026-54411/</guid><description>CVE-2026-54411 exposes a timing side-channel in Linux-PAM&amp;#39;s pam_userdb module, allowing attackers to recover plaintext passwords via response-time analysis</description><content:encoded><![CDATA[<p>🟠 <strong>High</strong>  |  <strong>Source:</strong> <a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-54411">Microsoft Security Response Center</a></p>
<hr>
<p>A timing side-channel vulnerability in Linux-PAM (through version 1.7.2) allows an attacker to recover plaintext passwords by measuring subtle differences in authentication response times. The flaw exists in the pam_userdb module when configured to store credentials in plaintext — a non-default but valid configuration. By repeatedly probing an exposed authentication service, an attacker can deduce the password length and individual characters byte by byte.</p>
<blockquote>
<p><strong>Security Architect&rsquo;s Take:</strong> Audit all Linux-based workloads and container images in your Azure environment for PAM configurations using pam_userdb with crypt=none or without a crypt= argument, and remediate by enforcing hashed credential storage. Where pam_userdb is in use at all, consider replacing it with a more robust authentication backend and restrict network-adjacent access to any service that calls into PAM until patched packages are available.</p>
</blockquote>
<p><strong>Original advisory:</strong> <a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-54411">CVE-2026-54411 Linux-PAM through 1.7.2 contains an observable timing discrepancy (CWE-208) in the pam_userdb module&rsquo;s plaintext-password comparison path in modules/pam_userdb/pam_userdb.c that allows a local or network-adjacent attacker able to repeatedly drive authentication through a calling service to recover the plaintext password of a target account by measuring response-timing differences. The comparison uses strncmp() (or strncasecmp() when PAM_ICASE_ARG is set) preceded by a length-equality check, so the time to reject a candidate depends on the index of the first differing byte and on whether the candidate&rsquo;s length matches the stored password, leaking the password length and individual prefix bytes. The vulnerable path is reached when the administrator configures pam_userdb with crypt=none, with an unrecognized crypt method, or without a crypt= argument, causing the module to store and compare credentials in plaintext.</a></p>
]]></content:encoded></item></channel></rss>