TMA-REDIS-DEFAULT-USER-NOPASS
Ensure the default ACL user is not configured with nopass
CríticaNível 1Automatizadaredis
Descrição
'user default ... nopass' explicitly allows password-less access with the default user's permissions. Checks /etc/redis/redis.conf (SKIP when it does not exist; RHEL uses /etc/redis.conf).
Como é verificado
Método de auditoria: Padrão de arquivo
- Arquivo
/etc/redis/redis.conf- Padrão
(?m)^[ \t]*user[ \t]+default[ \t][^\n]*\bnopass\b
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
Replace nopass with '><secret>' (or turn the user off with 'user default off') in redis.conf / the aclfile and restart, or ACL SETUSER default resetpass ><secret> followed by ACL SAVE
Propriedades
- Sistemas operacionais
- Qualquer
- Tags
- redisdatabaseauthentication
- Referência
- CIS Redis Benchmark - Authentication / ACL default user (verify section number for your release)
Verificar este host
Execute isto em uma máquina que você tenha permissão para auditar. A varredura é somente leitura.
shell
tmaegis scan --target redis