Skip to content

Instantly share code, notes, and snippets.

@ericchen
Last active May 1, 2016 15:14
Show Gist options
  • Save ericchen/b173e010956ac2f5daccd630a365c29b to your computer and use it in GitHub Desktop.
Save ericchen/b173e010956ac2f5daccd630a365c29b to your computer and use it in GitHub Desktop.
redis漏洞导致服务器被黑

今天早上起来发现登录不进去vps了,然后通过vps web端将root密码重新设置, 检查/etc/passwd 文件被加入下面user REDIS0006?, Google了一下,原来是利用了redis的漏洞,由于偷懒将redis没有设置密码且以root权限运行,也没有设置只允许本地访问 (bind 127.0.0.1未打开)导致黑客可以修改/etc/passwd文件

相关文章:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment