Network exploitation path showing unauthorized Redis CONFIG commands leading to SSH authorized_keys overwrite
Redis

Redis RCE

If you haven't already, time to patch Redis. Otherwise, please setup authentication in front of your Redis instance. This remote code execution is going to get nasty http

Key takeaways
  • Exposing unauthenticated in-memory databases to the internet is handing out root shells.
  • Writable configuration commands like `CONFIG SET dir` turn key-value stores into arbitrary file writers.
  • Never rely on default unauthenticated binds for backend data stores.

If you haven’t already, time to patch Redis. Otherwise, please setup authentication in front of your Redis instance.

This remote code execution is going to get nasty http://www.shodanhq.com/search?q=redis_version and https://benmmurphy.github.io/blog/2015/06/04/redis-eval-lua-sandbox-escape/ . Time to bring up a few honeypots to grab some decent exploits and related kits.