Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-54411

Опубликовано: 14 июн. 2026
Источник: redhat
CVSS3: 4.8
EPSS Низкий

Описание

Linux-PAM through 1.7.2 contains an observable timing discrepancy (CWE-208) in the pam_userdb module'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'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 flaw was found in Linux-PAM's pam_userdb module. This vulnerability, categorized as an Observable Timing Discrepancy (CWE-208), allows a local or network-adjacent attacker to recover plaintext passwords. By repeatedly attempting authentication and measuring response-timing differences during plaintext password comparison, an attacker can deduce the password. This flaw is exploitable when the pam_userdb module is configured to store and compare credentials in plaintext, which is not a default setting.

Отчет

This Moderate flaw in Linux-PAM's pam_userdb module allows a local or network-adjacent attacker to recover plaintext passwords through a timing discrepancy. This vulnerability requires the pam_userdb module to be explicitly configured to store and compare credentials in plaintext, which is not a default or recommended configuration in Red Hat Enterprise Linux environments. The impact is limited by the need for repeated authentication attempts and specific, non-default module configurations.

Меры по смягчению последствий

To mitigate this issue, administrators should ensure that the pam_userdb module is not configured to store or compare credentials in plaintext. Verify that pam_userdb is either configured with a strong cryptographic hashing method or, if not required, is disabled. Avoid using crypt=none or omitting the crypt= argument when configuring pam_userdb. If changes are made to PAM configuration files, services relying on PAM may need to be restarted for the changes to take effect.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10pamAffected
Red Hat Enterprise Linux 6pamOut of support scope
Red Hat Enterprise Linux 7pamAffected
Red Hat Enterprise Linux 8pamAffected
Red Hat Enterprise Linux 9pamAffected
Red Hat OpenShift Container Platform 4rhcosFix deferred
Red Hat Hardened Imagespam-main-1.7.2-2.2.hum1FixedRHSA-2026:3501602.07.2026
Red Hat Hardened Imagespam-main-1.7.2-1.1.hum1FixedRHSA-2026:755310.04.2026

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-208
https://bugzilla.redhat.com/show_bug.cgi?id=2488766linux-pam: Plaintext password recovery via timing discrepancy in pam_userdb module

EPSS

Процентиль: 26%
0.00333
Низкий

4.8 Medium

CVSS3

Связанные уязвимости

CVSS3: 5.9
ubuntu
около 2 месяцев назад

Linux-PAM through 1.7.2 contains an observable timing discrepancy (CWE-208) in the pam_userdb module'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'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.

CVSS3: 5.9
nvd
около 2 месяцев назад

Linux-PAM through 1.7.2 contains an observable timing discrepancy (CWE-208) in the pam_userdb module'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'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.

msrc
около 2 месяцев назад

Linux-PAM through 1.7.2 contains an observable timing discrepancy (CWE-208) in the pam_userdb module'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'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.

CVSS3: 5.9
debian
около 2 месяцев назад

Linux-PAM through 1.7.2 contains an observable timing discrepancy (CWE ...

suse-cvrf
21 день назад

Security update for pam

EPSS

Процентиль: 26%
0.00333
Низкий

4.8 Medium

CVSS3