CVE-2020-24719

CRITICAL

Couchbase Server 6.5.1 - Remote Command Execution via Exposed Erlang Cookie

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2020-24719. PoCs published by Daniel Mende, Milton Valencia (wetw0rk), including Metasploit module exploits/multi/misc/erlang_cookie_rce.

AI-analyzed exploit summary This Metasploit module exploits a vulnerability in the Erlang Port Mapper Daemon (EPMD) by leveraging a known cookie to achieve remote code execution (RCE). It crafts a malicious message to execute arbitrary commands on the target system.

Description

Exposed Erlang Cookie could lead to Remote Command Execution (RCE) attack. Communication between Erlang nodes is done by exchanging a shared secret (aka "magic cookie"). There are cases where the magic cookie is included in the content of the logs. An attacker can use the cookie to attach to an Erlang node and run OS level commands on the system running the Erlang node. Affects version: 6.5.1. Fix version: 6.6.0.

Exploits (1)

metasploit WORKING POC GREAT
by Daniel Mende, Milton Valencia (wetw0rk) · rubypocunix
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/misc/erlang_cookie_rce.rb

This Metasploit module exploits a vulnerability in the Erlang Port Mapper Daemon (EPMD) by leveraging a known cookie to achieve remote code execution (RCE). It crafts a malicious message to execute arbitrary commands on the target system.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Erlang Port Mapper Daemon (EPMD)
Auth required
Prerequisites: Valid Erlang cookie · Network access to the target
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 9.8
EPSS 0.2330
EPSS Percentile 97.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-78
Status published
Products (1)
couchbase/couchbase_server 6.5.1 - 6.6.0
Published Nov 12, 2020
Tracked Since Feb 18, 2026