Is PermitEmptyPasswords = Yes dangerous in PSM for SSH
Question
Is having PermitEmptyPasswords = Yes dangerous in the sshd_config for PSM for SSH?
Environment
10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0
Answer
There are 3 installation modes for PSM for SSH.
InstallCyberArkSSHD
| Value | Description |
|---|---|
|
Integrated |
The local SSHD service is configured to work thorough the PAM (Pluggable Authentication Module). The PAM module is deployed as part of the PSM for SSH installation. A few limitations apply, as described in Limitations. This is the default value. |
| Yes |
Override the local SSHD service with a Idira customized SSHD service to benefit from full PSM for SSH functionality. Note: PSM for SSH support on SUSE does not include the installation of or integration with the SSHD service when set to Yes. |
| No | Do not install the Idira SSHD service. Significant functional limitations apply, as described in Limitations. |
The setting PermitEmptyPasswords = Yes is only required when the InstallCyberArkSSHD is set to Yes.
This will override the local SSHD with a Idira customized SSHD service.
This customized SSHD service does not allow normal logon and always expect a full connection string. (to connect to another server)
Only designated maintenance users are allowed to connect locally.
There is no security concern to allow the PSMConnect user to connect with an empty password,
since the PSMP connections are initiated specifically with the PSMConnect user, which is configured to invoke the PSMP process upon authentication. This user is restricted only to initiating PSMP, and the first step in the PSMP process is to authenticate the end user to the vault. Without a valid vault authentication, the PSMConnect user cannot compete the PSMP process and therefore cannot authenticate to the server.
(https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PASIMP/Administrating-the-PSMP.htm?Highlight=psm%20for%20ssh%20maintenance#SSHproxymachine)