Skip to content
OpenAdvisories
Unscored Public exploit CVE-2017-12636 EUVD-2017-4175GHSA-fcpq-cj4x-h8mv

CouchDB administrative users can configure the database server via HTTP(S). Some of the configuration options include paths for operating s…

Published Nov 14, 2017 · Updated Sep 16, 2024 · Assigned by apache

Description

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache CouchDB 1.2.0 to 1.6.1, 2.0.0 to 2.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 7 couchdb 1.2.0-5+deb7u1 DLA-1252-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS couchdb No fix yet —
ReleasePackageFixed inAdvisory
SUSE OpenStack Cloud 7 couchdb 1.7.2-2.8.2 SUSE-SU-2018:2578-1
SUSE Enterprise Storage 4 couchdb 1.7.2-2.8.2 SUSE-SU-2018:2578-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 2

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References