CVE-2018-8007
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.
EPSS 18.24% · 95.3th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:16.04:LTS | couchdb | 1.6.0-0ubuntu7, 0 |
Exploit Intelligence
- https://www.mdsec.co.uk/2018/08/advisory-cve-2018-8007-apache-couchdb-remote-code-execution/ (nist-nvd)
- [couchdb-announce] 20180710 Apache CouchDB 2.1.2 released (circl)
- GLSA-201812-06 (circl)
- [couchdb-announce] 20180710 Apache CouchDB 1.7.2 released (circl)
- 104741 (circl)
- https://blog.couchdb.org/2018/07/10/cve-2018-8007/ (circl)
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03935en_us (circl)
- FEDORA-2020-83f513fd7e (circl)
- FEDORA-2020-73bd8167a0 (circl)
- Couchbase Server Remote Code Execution Vulnerability (0day-today)
…and 1 more exploits
Timeline
- Jul 11, 2018 CVE Published
- Aug 24, 2018 PoC Published
- Apr 14, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Feb 28, 2022 EPSS Score
- May 2, 2022 EPSS Score
- Sep 5, 2022 EPSS Score
- Jan 8, 2023 EPSS Score
- Mar 11, 2023 EPSS Score
- May 13, 2023 EPSS Score
- Jul 15, 2023 EPSS Score
References
- https://ubuntu.com/security/CVE-2018-8007 third-party-advisory
- https://blog.couchdb.org/2018/07/10/cve-2018-8007/ third-party-advisory
- http://mail-archives.apache.org/mod_mbox/couchdb-announce/201807.mbox/%3c1439409216.6221.1531246856676.JavaMail.Joan@RITA%3e third-party-advisory
- http://mail-archives.apache.org/mod_mbox/couchdb-announce/201807.mbox/%3C1699016538.6219.1531246785603.JavaMail.Joan%40RITA%3E third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2018-8007 third-party-advisory