Allele Security Alert
AD DC check password script does not receive the full password
The Samba Project
Samba versions before 4.11.2
Samba versions before 4.10.10
Samba versions before 4.9.15
Samba version 4.11.2
Samba version 4.10.10
Samba version 4.9.15
Proof of concept
Since Samba Version 4.5.0 a Samba AD DC can use a custom command to verify the password complexity. The command can be specified with the “check password script” smb.conf parameter. This command is called when Samba handles a user password change or a new user password is set. The script receives the new cleartext password string in order to run custom password complexity checks like dictionary checks to avoid weak user passwords.
When the password contains multi-byte (non-ASCII) characters, the check password script does not receive the full password string.
Samba – Security Updates and Information
Samba AD DC check password script does not receive the full password
If there is any error in this alert or you wish a comprehensive analysis, let us know.
Last modified: November 5, 2019