SecurityContext

CVE-2018-8007: Apache CouchDB - Privilege Escalation

  • Cve: CVE-2018-8007
  • Name: Apache CouchDB - Privilege Escalation
  • Description: Apache CouchDB administrative users can configure the database server via HTTP(S). Due to insufficient validation of administrator-supplied configuration settings via the HTTP API, it is possible for a CouchDB administrator user to escalate their privileges to that of the operating system's user that CouchDB runs under, by bypassing the blacklist of configuration settings that are not allowed to be modified via the HTTP API. This privilege escalation effectively allows an existing CouchDB admin user to gain arbitrary remote code execution, bypassing already disclosed CVE-2017-12636. Mitigation: All users should upgrade to CouchDB releases 1.7.2 or 2.1.2.
  • Impact: Existing CouchDB admin users can escalate privileges to OS level, potentially leading to remote code execution.
  • Remediation: Upgrade to CouchDB releases 1.7.2 or 2.1.2.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker must be an existing CouchDB administrator
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.2
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.11744
  • Epss percentile: 0.96177
  • Assignee: [email protected]
  • Published at: 2018-07-11T13:29:00Z
  • Age in days: 3058
  • Modified at: 2026-06-17T02:04:04Z
  • Public exploits total: 1
  • References total: 10
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-8007
  • Nvd status: modified
  • Checked, none or zero: patch available, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-20Improper Input Validation

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2026-06-30—no

Public exploits

UrlSourceAdded date
https://www.mdsec.co.uk/2018/08/advisory-cve-2018-8007-apache-couchdb-remote-code-execution/nvd2018-07-11

References

UrlSourceTags
https://www.mdsec.co.uk/2018/08/advisory-cve-2018-8007-apache-couchdb-remote-code-execution/nvdExploit, Third Party Advisory
http://mail-archives.apache.org/mod_mbox/couchdb-announce/201807.mbox/%3C1699016538.6219.1531246785603.JavaMail.Joan%40RITA%3EnvdMailing List, Third Party Advisory
http://www.securityfocus.com/bid/104741nvdThird Party Advisory, VDB Entry
https://blog.couchdb.org/2018/07/10/cve-2018-8007/nvdThird Party Advisory
https://security.gentoo.org/glsa/201812-06nvdThird Party Advisory
https://blog.xlab.qianxin.com/rustduck-en/vulncheckVulncheck Reported Exploitation
http://mail-archives.apache.org/mod_mbox/couchdb-announce/201807.mbox/%3c1439409216.6221.1531246856676.JavaMail.Joan%40RITA%3envd
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S5FPHVVU5KMRFKQTJPAM3TBGC7LKCWQS/nvd
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X3JOUCX7LHDV4YWZDQNXT5NTKKRANZQW/nvd
https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03935en_usnvd

Products

ProductAffectedPlatform boundSourcesUrl
apache:couchdb>= 2.0.0, <= 2.1.1; <= 1.7.1nonvd/v1/products/apache/couchdb

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Known exploited by: vulncheck
  • Vulncheck known exploited since: 2026-06-30
  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2018-07-11
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 20643
  • Checked, none or zero: known exploited, exploitation seen, initial access
  • Not known: known exploited since, nuclei template, initial access since, hackerone reports