Linux 拨号vps windows公众号手机端

redis漏洞如何修复

lewis 7年前 (2018-11-10) 阅读数 8 #VPS/云服务器
文章标签 redisredis漏洞

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服务仅当前主机可用。

版权声明

本文仅代表作者观点,不代表米安网络立场。

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

热门