RCE in Apache Couchdb

CVE-2017-12636

CouchDB administrative users can configure the database server via HTTP(S). Some of the configuration options include paths for operating system-level binaries that are subsequently launched by CouchDB. This allows an admin user in Apache CouchDB before 1.7.0 and 2.x before 2.1.1 to execute arbitrary shell commands as the CouchDB user, including downloading and executing scripts from the public internet.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.897 (99.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.2 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2017-12636?
CVE-2017-12636 is a high-severity vulnerability in Apache Couchdb, classified under OS Command Injection. CVSS score: 7.2/10. Published 2017-11-14.
How severe is CVE-2017-12636?
High severity. CVSS v3 base score is 7.2 out of 10.
Is CVE-2017-12636 known to be exploited?
27 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.