Entreprise d'experts en Sécurité Informatique : Audits et conseils en cybersécurité
Entreprise française de cybersécurité depuis 2004
☎ 03 60 47 09 81 - info@securiteinfo.com


CVE-2024-46981

Description

Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to manipulate the garbage collector and potentially lead to remote code execution. The problem is fixed in 7.4.2, 7.2.7, and 6.2.17. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.

POC

Reference

- https://www.vicarius.io/vsociety/posts/cve-2024-46981-detect-redis-vulnerability

- https://www.vicarius.io/vsociety/posts/cve-2024-46981-mitigate-redis-vulnerability

Github

- https://github.com/ARPSyndicate/cve-scores

- https://github.com/plzheheplztrying/cve_monitor

- https://github.com/publicqi/CVE-2024-46981

- https://github.com/rick2600/redis-stack-CVE-2024-55656

- https://github.com/xsshk/CVE-2024-46981