Redis
TMA-REDIS-PROTECTED-MODE
Ensure protected-mode is enabled
高级别 1自动化redis
说明
protected-mode refuses external connections when no password is set.
检查方式
审计方法: 文件正则匹配
- 文件
/etc/redis/redis.conf- 匹配模式
(?m)^\s*protected-mode\s+yes\b
修复方式
修复方法: 文件编辑
- 文件
/etc/redis/redis.conf- 替换行
protected-mode yes
属性
- 操作系统
- 任意
- 标签
- databaseredis
- 参考
- CIS Redis Benchmark - Network Security
检查本机
请在您有权审计的机器上运行此命令。扫描为只读操作。
shell
tmaegis scan --target redis