redis漏洞修复的方法:1.修改 redis.conf 文件,禁用远程修改DB文件地址。2.修改 redis.conf 文件,添加requirepass mypassword。 3.禁止外网访问Redis。
redis漏洞修复的方法:
1.修改 redis.conf 文件,禁用远程修改DB文件地址,例如:
rename-command FLUSHALL ""
rename-command CONFIG ""
rename-command EVAL ""
2.修改 redis.conf 文件,添加:
requirepass mypassword
3.禁止外网访问Redis。例如修改redis.conf 文件中”bind 127.0.0.1“,使得Redis服务仅当前主机可用。
亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
推荐阅读:如何修复redis漏洞