CVE-2018-8007
Apache CouchDB administrative users can configure the database server via HTTP(S). Due to insufficient validation of…
- Published
- Updated
- Reserved
- Assigned by
- apache
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.2 | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 12.2% · top 3.8% of all CVEs (4 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.2.
Weakness
- Administrative Privilege Escalation
- CWE-20 (opens in a new tab)All about CWE-20 and its CVEs
Affected products
Apache Software Foundation · Apache CouchDB
- affected < 1.7.2
- affected 2.0.0 to 2.1.1
References (9)
- [couchdb-announce] 20180710 Apache CouchDB 2.1.2 released (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- GLSA-201812-06 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- [couchdb-announce] 20180710 Apache CouchDB 1.7.2 released (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 104741 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://www.mdsec.co.uk/2018/08/advisory-cve-2018-8007-apache-couchdb-remote-code-execution/ (opens in a new tab)x_refsource_MISCx_transferred
- https://blog.couchdb.org/2018/07/10/cve-2018-8007/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03935en_us (opens in a new tab)x_refsource_CONFIRMx_transferred
- FEDORA-2020-83f513fd7e (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2020-73bd8167a0 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-8007)Record last updated .