Redis
TMA-REDIS-DEFAULT-USER-NOPASS
Ensure the default ACL user is not configured with nopass
КритическийУровень 1Автоматическаяredis
Описание
'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).
Как проверяется
Метод проверки: Шаблон в файле
- Файл
/etc/redis/redis.conf- Шаблон
(?m)^[ \t]*user[ \t]+default[ \t][^\n]*\bnopass\b
Как исправляется
Метод исправления: Рекомендация или патч инфраструктуры
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
Свойства
- Операционные системы
- Любая
- Теги
- redisdatabaseauthentication
- Источник
- CIS Redis Benchmark - Authentication / ACL default user (verify section number for your release)
Проверить этот хост
Выполните команду на компьютере, аудит которого вам разрешён. Сканирование работает только на чтение.
shell
tmaegis scan --target redis