Exploitation Summary
EIP tracks 2 public exploits for CVE-2018-12326. PoCs published by Fakhri Zulkifli, spasm5.
AI-analyzed exploit summary This exploit demonstrates a buffer overflow in redis-cli versions 3.2, 4.0, and 5.0 by passing an excessively long hostname parameter, leading to a crash and potential code execution. The PoC uses a Python one-liner to generate a long string of 'A' characters to trigger the overflow.
Description
Buffer overflow in redis-cli of Redis before 4.0.10 and 5.x before 5.0 RC3 allows an attacker to achieve code execution and escalate to higher privileges via a crafted command line. NOTE: It is unclear whether there are any common situations in which redis-cli is used with, for example, a -h (aka hostname) argument from an untrusted source.
Exploits (2)
This exploit demonstrates a buffer overflow in redis-cli versions 3.2, 4.0, and 5.0 by passing an excessively long hostname parameter, leading to a crash and potential code execution. The PoC uses a Python one-liner to generate a long string of 'A' characters to trigger the overflow.
This PoC demonstrates a buffer overflow vulnerability in redis-cli versions 3.2, 4.0, and 5.0, where a long string in the hostname parameter can lead to code execution and privilege escalation. The exploit triggers a crash via a crafted command-line argument, as shown in the provided stack trace.
References (8)
Scores
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H