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
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2026-06-30 | — | no |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://www.mdsec.co.uk/2018/08/advisory-cve-2018-8007-apache-couchdb-remote-code-execution/ | nvd | 2018-07-11 |
References
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:couchdb | >= 2.0.0, <= 2.1.1; <= 1.7.1 | no | nvd | /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