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 network client authenticates as any account whose stored password column is SQL NULL, using any password. The supplied password is never compared on that branch.

Read the full article at oss-security →