{"uuid": "c2b87fc0-6e2f-4dff-b370-a4686ac3e8e2", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2022-0543", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/redis/redis_debian_sandbox_escape.rb", "content": "{\"aliases\": [], \"arch\": \"cmd, x86, x64\", \"author\": [\"Reginaldo Silva\", \"jbaines-r7\"], \"autofilter_ports\": [], \"autofilter_services\": [], \"check\": true, \"default_credential\": false, \"description\": \"This module exploits CVE-2022-0543, a Lua-based Redis sandbox escape. The\\n          vulnerability was introduced by Debian and Ubuntu Redis packages that\\n          insufficiently sanitized the Lua environment. The maintainers failed to\\n          disable the package interface, allowing attackers to load arbitrary libraries.\\n\\n          On a typical `redis` deployment (not docker), this module achieves execution\\n          as the `redis` user. Debian/Ubuntu packages run Redis using systemd with the\\n          \\\"MemoryDenyWriteExecute\\\" permission, which limits some of what an attacker can\\n          do. For example, staged meterpreter will fail when attempting to use mprotect.\\n          As such, stageless meterpreter is the preferred payload.\\n\\n          Redis can be configured with authentication or not. This module will work with\\n          either configuration (provided you provide the correct authentication details).\\n          This vulnerability could theoretically be exploited across a few architectures:\\n          i386, arm, ppc, etc. However, the module only supports x86_64, which is likely\\n          to be the most popular version.\", \"disclosure_date\": \"2022-02-18\", \"fullname\": \"exploit/linux/redis/redis_debian_sandbox_escape\", \"is_install_path\": true, \"mod_time\": \"2025-12-17 16:12:31 +0000\", \"name\": \"Redis Lua Sandbox Escape\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"artifacts-on-disk\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/linux/redis/redis_debian_sandbox_escape.rb\", \"platform\": \"Linux,Unix\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"linux/redis/redis_debian_sandbox_escape\", \"references\": [\"CVE-2022-0543\", \"URL-https://www.lua.org/pil/8.2.html\", \"URL-https://www.ubercomp.com/posts/2022-01-20_redis_on_debian_rce\", \"URL-https://www.debian.org/security/2022/dsa-5081\", \"URL-http://web.archive.org/web/20240910172732/https://ubuntu.com/security/CVE-2022-0543\"], \"rport\": 6379, \"session_types\": false, \"targets\": [\"Unix Command\", \"Linux Dropper\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:49:21.483432Z"}