CVE-2018-12326
Redis-cli < 5.0 - Buffer Overflow (PoC)
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
2Exploited in Wild
-Decision
Descriptions
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.
Desbordamiento de búfer en redis-cli en Redis, en versiones anteriores a la 4.0.10 y versiones 5.x anteriores a la 5.0 RC3 permite que un atacante logre la ejecución de código y escale a privilegios más altos mediante una línea de comandos manipulada. NOTA: no se sabe a ciencia cierta si hay situaciones comunes en las que se emplea redis-cli, por ejemplo, con un argumento -h (hostname) de una fuente no fiable.
The Redis command line tool 'redis-cli' is vulnerable to a buffer overflow through the -h (host) command line parameter. The redis-cli may be used by other services; if these services do not adequately filter the host input it could lead to code execution with the privilege level of that service.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2018-06-13 CVE Reserved
- 2018-06-17 CVE Published
- 2022-03-25 First Exploit
- 2024-03-23 EPSS Updated
- 2024-08-05 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-121: Stack-based Buffer Overflow
CAPEC
References (11)
URL | Tag | Source |
---|---|---|
https://gist.github.com/fakhrizulkifli/f831f40ec6cde4f744c552503d8698f0 | Third Party Advisory |
URL | Date | SRC |
---|---|---|
https://www.exploit-db.com/exploits/44904 | 2024-08-05 | |
https://github.com/spasm5/CVE-2018-12326 | 2022-03-25 |
URL | Date | SRC |
---|---|---|
https://access.redhat.com/errata/RHSA-2019:0052 | 2019-01-17 | |
https://access.redhat.com/errata/RHSA-2019:0094 | 2019-01-17 | |
https://access.redhat.com/errata/RHSA-2019:1860 | 2019-01-17 | |
https://access.redhat.com/security/cve/CVE-2018-12326 | 2019-07-25 | |
https://bugzilla.redhat.com/show_bug.cgi?id=1594291 | 2019-07-25 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Redislabs Search vendor "Redislabs" | Redis Search vendor "Redislabs" for product "Redis" | < 4.0.10 Search vendor "Redislabs" for product "Redis" and version " < 4.0.10" | - |
Affected
| ||||||
Redislabs Search vendor "Redislabs" | Redis Search vendor "Redislabs" for product "Redis" | 5.0 Search vendor "Redislabs" for product "Redis" and version "5.0" | rc1 |
Affected
| ||||||
Redislabs Search vendor "Redislabs" | Redis Search vendor "Redislabs" for product "Redis" | 5.0 Search vendor "Redislabs" for product "Redis" and version "5.0" | rc2 |
Affected
|