Redis
TMA-REDIS-DEFAULT-USER-NOPASS
Ensure the default ACL user is not configured with nopass
KritičnaNivo 1Automatskaredis
Opis
'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).
Kako se proverava
Metod provere: Obrazac u datoteci
- Datoteka
/etc/redis/redis.conf- Obrazac
(?m)^[ \t]*user[ \t]+default[ \t][^\n]*\bnopass\b
Kako se ispravlja
Metod ispravke: Smernica ili zakrpa infrastrukture
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
Svojstva
- Operativni sistemi
- Bilo koji
- Oznake
- redisdatabaseauthentication
- Referenca
- CIS Redis Benchmark - Authentication / ACL default user (verify section number for your release)
Proverite ovaj računar
Pokrenite ovo na računaru za koji imate dozvolu za proveru. Skeniranje radi u režimu samo za čitanje.
shell
tmaegis scan --target redis