mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-02-20 12:54:16 +01:00
Fix big security hole: Authentication succeeded when no password
was given, unless use_first_pass was being used. This is fatal if pam_yubico is considered 'sufficient' in the PAM configuration. Signed-off-by: Nanakos Chrysostomos <nanakos@wired-net.gr>
This commit is contained in:
parent
2bf1a9b645
commit
4712da70ca
@ -747,6 +747,7 @@ pam_sm_authenticate (pam_handle_t * pamh,
|
|||||||
if (resp->resp == NULL)
|
if (resp->resp == NULL)
|
||||||
{
|
{
|
||||||
DBG (("conv returned NULL passwd?"));
|
DBG (("conv returned NULL passwd?"));
|
||||||
|
retval = PAM_AUTH_ERR;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user