Posted by Andrey Vasilevsky on Nov 19 Hello, pam-MySQL (libpam-mysql, src:pam-mysql) inverts PAM_DISALLOW_NULL_AUTHTOK at both pam_sm_authenticate call sites, so an application that asks PAM to refuse passwordless accounts gets the permissive behaviour instead. On a stock sshd, an unauthenticated ne
Briefing
Written from the coverage below · deepseek-v4.1-flash
pam-mysql inverts PAM_DISALLOW_NULL_AUTHTOK at both pam_sm_authenticate call sites, so applications requesting that PAM refuse passwordless accounts instead get permissive behavior. On a stock sshd, an unauthenticated client can log in as any account whose stored password column is SQL NULL using any password.
Why it mattersAny service using pam-mysql for authentication, especially SSH, may allow unauthenticated login to accounts with NULL password columns.
ActionQuery MySQL-backed accounts for NULL password values, remediate them, and apply the pam-mysql fix when released.
Coverage
1 article