FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

redis -- EVAL Lua Sandbox Escape

Affected packages
2.6.0 <= redis < 2.8.21
3.0 <= redis < 3.0.2
2.6.0 <= redis-devel < 2.8.21
3.0 <= redis-devel < 3.0.2

Details

VuXML ID 838fa84a-0e25-11e5-90e4-d050996490d0
Discovery 2015-06-04
Entry 2015-06-08

Ben Murphy reports:

It is possible to break out of the Lua sandbox in Redis and execute arbitrary code.

This shouldn’t pose a threat to users under the trusted Redis security model where only trusted users can connect to the database. However, in real deployments there could be databases that can be accessed by untrusted users. The main deployments that are vulnerable are developers machines, places where redis servers can be reached via SSRF attacks and cloud hosting.

References

CVE Name CVE-2015-4335
URL http://benmmurphy.github.io/blog/2015/06/04/redis-eval-lua-sandbox-escape/