Vulnerability Name:

CVE-2017-12636 (CCN-135096)

Assigned:2017-11-14
Published:2017-11-14
Updated:2019-05-13
Summary: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.
CVSS v3 Severity:7.2 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H)
6.7 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): High
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.2 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H)
6.7 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): High
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:9.0 High (CVSS v2 Vector: AV:N/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
9.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-78
Vulnerability Consequences:Gain Access
References:Source: CCN
Type: Apache CouchDB Web site
Apache CouchDB

Source: MITRE
Type: CNA
CVE-2017-12636

Source: XF
Type: UNKNOWN
apache-couchdb-cve201712636-cmd-exec(135096)

Source: CCN
Type: Apache Mailing List 2017-11-15
Apache CouchDB CVE-2017-12635 and CVE-2017-12636

Source: MLIST
Type: Mailing List, Vendor Advisory
[dev] 20171114 Apache CouchDB CVE-2017-12635 and CVE-2017-12636

Source: MLIST
Type: UNKNOWN
[debian-lts-announce] 20180121 [SECURITY] [DLA 1252-1] couchdb security update

Source: CCN
Type: Packet Storm Security [06-21-2018]
Apache CouchDB Remote Code Execution

Source: CCN
Type: Packet Storm Security [07-12-2018]
Apache CouchDB Arbitrary Command Execution

Source: GENTOO
Type: Third Party Advisory
GLSA-201711-16

Source: CONFIRM
Type: UNKNOWN
https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03935en_us

Source: EXPLOIT-DB
Type: EXPLOIT
Offensive Security Exploit Database [06-20-2018]

Source: EXPLOIT-DB
Type: UNKNOWN
44913

Source: EXPLOIT-DB
Type: EXPLOIT
Offensive Security Exploit Database [07-13-2018]

Source: EXPLOIT-DB
Type: UNKNOWN
45019

Vulnerable Configuration:Configuration 1:
  • cpe:/a:apache:couchdb:*:*:*:*:*:*:*:* (Version < 1.7.0)
  • OR cpe:/a:apache:couchdb:2.0.0:*:*:*:*:*:*:*
  • OR cpe:/a:apache:couchdb:2.0.0:rc1:*:*:*:*:*:*
  • OR cpe:/a:apache:couchdb:2.0.0:rc2:*:*:*:*:*:*
  • OR cpe:/a:apache:couchdb:2.0.0:rc3:*:*:*:*:*:*
  • OR cpe:/a:apache:couchdb:2.0.0:rc4:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:apache:couchdb:1.7.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:201712636
    V
    CVE-2017-12636
    2022-05-20
    oval:org.opensuse.security:def:57147
    P
    Security update for the Linux Kernel (Live Patch 41 for SLE 12 SP3) (Important)
    2021-12-14
    oval:org.opensuse.security:def:57041
    P
    Security update for libsolv (Important)
    2021-06-28
    oval:org.opensuse.security:def:57941
    P
    Security update for freeradius-server (Moderate)
    2021-06-11
    oval:org.opensuse.security:def:57910
    P
    Security update for cups (Important)
    2021-04-30
    oval:org.opensuse.security:def:57991
    P
    Security update for openvswitch (Important)
    2021-02-02
    oval:org.opensuse.security:def:58015
    P
    Security update for java-1_8_0-ibm (Moderate)
    2021-01-05
    oval:org.opensuse.security:def:57706
    P
    e2fsprogs on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:56490
    P
    Security update for gimp (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:57798
    P
    libgoa-1_0-0 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:56630
    P
    Security update for tiff (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:57313
    P
    Security update for curl
    2020-12-01
    oval:org.opensuse.security:def:56467
    P
    Security update for MozillaFirefox, mozilla-nss (Important)
    2020-12-01
    oval:org.opensuse.security:def:57872
    P
    libxerces-c-3_1 on GA media (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:56868
    P
    Security update for webkit2gtk3 (Important)
    2020-12-01
    oval:org.opensuse.security:def:57598
    P
    Security update for kvm (Important)
    2020-12-01
    oval:org.opensuse.security:def:56468
    P
    Security update for samba (Moderate)
    2020-12-01
    oval:org.opensuse.security:def:80650
    P
    Security update for couchdb (Important)
    2018-08-31
    oval:com.ubuntu.artful:def:201712636000
    V
    CVE-2017-12636 on Ubuntu 17.10 (artful) - untriaged.
    2017-11-14
    oval:com.ubuntu.xenial:def:2017126360000000
    V
    CVE-2017-12636 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-11-14
    oval:com.ubuntu.trusty:def:201712636000
    V
    CVE-2017-12636 on Ubuntu 14.04 LTS (trusty) - medium.
    2017-11-14
    oval:com.ubuntu.xenial:def:201712636000
    V
    CVE-2017-12636 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-11-14
    BACK
    apache couchdb *
    apache couchdb 2.0.0
    apache couchdb 2.0.0 rc1
    apache couchdb 2.0.0 rc2
    apache couchdb 2.0.0 rc3
    apache couchdb 2.0.0 rc4
    apache couchdb 1.7.0