redis可能受到的安全攻击

问题描述 投票:0回答:2

运行命令

redis-server
它返回:

The server is now ready to accept connections on port 6379

尝试在浏览器中连接 localhost:6379 我收到此消息:

Possible SECURITY ATTACK detected. It looks like somebody is sending POST or Host: commands to Redis. This is likely due to an attacker attempting to use Cross Protocol Scripting to compromise your Redis instance. Connection aborted.
谁能帮我解决这个错误吗?

redis
2个回答
17
投票

您需要使用 Redis 客户端来连接到 Redis,而不是浏览器。查看此页面的一些https://redis.io/clients,或使用

redis-cli
,甚至只是简单的 Telnet。


0
投票

我知道作为解决方案,您还可以安装redis insgith以在图形环境中发出请求, https://redis.io/docs/connect/insight/

© www.soinside.com 2019 - 2024. All rights reserved.