TMAegisБета
Више правила за redis

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