Explore/

Redis EVAL and Lua Scripting

1 public capture

Redis EVAL ships a Lua script to the server and runs it atomically. In the capture the script text is readable inside the RESP command, along with the key arguments and the reply. On an unauthenticated Redis instance the same feature lets an attacker run arbitrary Lua, read every key or, with older versions, break out of the sandbox, so EVAL from an unexpected client is a signal worth checking.

Redis EVAL commands running Lua scripts on the server, a legitimate feature that attackers use to execute logic on an exposed instance.

trypcaphub·7mo ago

Redis Lua Script Execution via EVAL

Three EVAL commands executing server-side Lua scripts: key-value SET/GET via Lua and pure computation (sum of 1 to 100). Shows EVAL with the script body, key count, and arguments visible in RESP. Lua scripting can also be an attack vector on exposed Redis instances.

1742.8 KB30