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
修正方法
修正方法: ガイダンスまたは IaC パッチ
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