TMA-REDIS-DEFAULT-USER-NOPASS
Ensure the default ACL user is not configured with nopass
KritikDüzey 1Otomatikredis
Açıklama
'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).
Nasıl denetlenir
Denetim yöntemi: Dosya deseni
- Dosya
/etc/redis/redis.conf- Desen
(?m)^[ \t]*user[ \t]+default[ \t][^\n]*\bnopass\b
Nasıl düzeltilir
Düzeltme yöntemi: Kılavuz veya altyapı yaması
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
Özellikler
- İşletim sistemleri
- Herhangi biri
- Etiketler
- redisdatabaseauthentication
- Referans
- CIS Redis Benchmark - Authentication / ACL default user (verify section number for your release)
Bu ana makineyi denetle
Bunu denetleme izniniz olan bir makinede çalıştırın. Tarama salt okunurdur.
shell
tmaegis scan --target redis