TMAegis
Другие правила для redis

TMA-REDIS-AUTHENTICATION

Ensure client authentication is required

КритическийУровень 1Автоматическаяredis

Описание

Without requirepass or an ACL password on the default user, any client that can reach the port has full access. Compliant when requirepass is set or the default user is defined with a password (>pw / #hash) or is turned off. ACLs defined only in an aclfile must be reviewed separately. Checks /etc/redis/redis.conf (SKIP when it does not exist; RHEL uses /etc/redis.conf).

Как проверяется

Метод проверки: Шаблон в файле

Файл
/etc/redis/redis.conf
Шаблон
(?m)^[ \t]*(?:requirepass[ \t]+\S+|user[ \t]+default[ \t][^\n]*(?:[ \t][>#]\S+|[ \t]off\b))

Как исправляется

Метод исправления: Рекомендация или патч инфраструктуры

Set 'requirepass <long random secret>' (Redis < 6) or define ACL users with 'user <name> on ><secret> ~<keys> +@<categories>' and 'user default off' in redis.conf; restart and update clients

Свойства

Операционные системы
Любая
Теги
redisdatabaseauthentication
Источник
CIS Redis Benchmark - Authentication / requirepass and ACL (verify section number for your release)

Проверить этот хост

Выполните команду на компьютере, аудит которого вам разрешён. Сканирование работает только на чтение.

shell
tmaegis scan --target redis