CVE-2022-24706

CRITICAL KEV NUCLEI

Apache Couchdb Erlang RCE

Title source: metasploit
STIX 2.1

Exploitation Summary

CVE-2022-24706 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added August 25, 2022. EIP tracks 7 public exploits from researchers including Konstantin Burov, sadshade, ahmetsabrimert, including a Metasploit module exploits/multi/http/apache_couchdb_erlang_rce. A Nuclei detection template is also available.

AI-analyzed exploit summary This exploit leverages the Erlang Distribution Protocol to achieve remote code execution on Apache CouchDB 3.2.1 and below by authenticating with a default cookie and sending crafted commands. It interacts with the EPMD port to discover nodes and then executes arbitrary commands via the Erlang port.

Description

In Apache CouchDB prior to 3.2.2, an attacker can access an improperly secured default installation without authenticating and gain admin privileges. The CouchDB documentation has always made recommendations for properly securing an installation, including recommending using a firewall in front of all CouchDB installations.

Exploits (7)

exploitdb WORKING POC
by Konstantin Burov · pythonremotelinux
https://www.exploit-db.com/exploits/50914

This exploit leverages the Erlang Distribution Protocol to achieve remote code execution on Apache CouchDB 3.2.1 and below by authenticating with a default cookie and sending crafted commands. It interacts with the EPMD port to discover nodes and then executes arbitrary commands via the Erlang port.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache CouchDB 3.2.1 and below
No auth needed
Prerequisites: Network access to EPMD port (4369) · Default Erlang cookie ('monster')
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 29 stars
by sadshade · remote
https://github.com/sadshade/CVE-2022-24706-CouchDB-Exploit

This is a functional exploit for CVE-2022-24706, targeting Apache CouchDB 3.2.1 and below via the Erlang Distribution Protocol. It leverages the default Erlang cookie to achieve remote code execution by sending crafted messages to the EPMD and Erlang ports.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache CouchDB 3.2.1 and below
No auth needed
Prerequisites: Network access to port 4369 (EPMD) and the Erlang port · Default Erlang cookie ('monster') or knowledge of the cookie
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WRITEUP 1 stars
by ahmetsabrimert · poc
https://github.com/ahmetsabrimert/Apache-CouchDB-CVE-2022-24706-RCE-Exploits-Blog-post-

This repository contains a README.md file referencing a blog post about CVE-2022-24706, an RCE vulnerability in Apache CouchDB. No exploit code or technical details are provided in the repository itself.

Classification
Writeup 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Theoretical
Target: Apache CouchDB
No auth needed
Prerequisites: Access to a vulnerable Apache CouchDB instance
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec SCANNER
by becrevex · remote
https://github.com/becrevex/CVE-2022-24706

This repository provides an Nmap NSE script to check for CVE-2022-24706, a Remote Code Execution (RCE) vulnerability in Apache CouchDB 3.2.1. The script scans for the vulnerability but does not include an exploit payload.

Classification
Scanner 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Apache CouchDB 3.2.1
No auth needed
Prerequisites: Network access to target port 4369 · Nmap with NSE support
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec STUB
by superzerosec · poc
https://github.com/superzerosec/CVE-2022-24706

The repository contains only a README.md file with minimal information about CVE-2022-24706, lacking any exploit code or technical details. No functional PoC or exploit logic is present.

Classification
Stub 10%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
devstral-2 · analyzed Feb 16, 2026 Full analysis →
vulncheck_xdb WORKING POC
remote
https://github.com/hatjwe/CVE-2023-24706

This repository contains a functional Go-based exploit for CVE-2022-24706, targeting Apache CouchDB's Erlang distribution protocol for remote command execution. The PoC interacts with EPMD to discover the Erlang port, performs authentication using the default cookie, and sends crafted commands.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache CouchDB (versions affected by CVE-2022-24706)
No auth needed
Prerequisites: network access to CouchDB's EPMD port (4369) and Erlang distribution port · default Erlang cookie ('monster')
devstral-2 · analyzed Feb 25, 2026 Full analysis →
metasploit WORKING POC EXCELLENT
by Milton Valencia (wetw0rk), 1F98D, Konstantin Burov, _sadshade, jheysel-r7 · rubypocunix
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/apache_couchdb_erlang_rce.rb

This Metasploit module exploits CVE-2022-24706, an authentication bypass in Apache CouchDB prior to 3.2.2, by leveraging the default Erlang cookie 'monster' to execute arbitrary commands via the Erlang distribution protocol.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Apache CouchDB < 3.2.2
No auth needed
Prerequisites: Exposed Erlang Port Mapper Daemon (EPMD) on port 4369 · Default Erlang cookie 'monster'
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Nuclei Templates (1)

CouchDB Erlang Distribution - Remote Command Execution
CRITICALVERIFIEDby Mzack9999,pussycat0x
Shodan: product:"CouchDB" || product:"couchdb" || cpe:"cpe:2.3:a:apache:couchdb"

Scores

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

CISA SSVC

Vulnrichment
Exploitation active
Automatable yes
Technical Impact total

Details

CISA KEV 2022-08-25
VulnCheck KEV 2022-03-06
InTheWild.io 2022-08-25
ENISA EUVD EUVD-2022-29572
CWE
CWE-1188
Status published
Products (1)
apache/couchdb < 3.2.2
Published Apr 26, 2022
KEV Added Aug 25, 2022
Tracked Since Feb 18, 2026