{"api_version":"1","generated_at":"2026-05-06T18:41:53+00:00","cve":"CVE-2018-8007","urls":{"html":"https://cve.report/CVE-2018-8007","api":"https://cve.report/api/cve/CVE-2018-8007.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-8007","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-8007"},"summary":{"title":"CVE-2018-8007","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.","state":"PUBLIC","assigner":"security@apache.org","published_at":"2018-07-11 13:29:00","updated_at":"2023-11-07 03:01:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03935en_us","name":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03935en_us","refsource":"CONFIRM","tags":[],"title":"Document Display | HPE Support Center","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://mail-archives.apache.org/mod_mbox/couchdb-announce/201807.mbox/%3C1699016538.6219.1531246785603.JavaMail.Joan%40RITA%3E","name":"[couchdb-announce] 20180710 Apache CouchDB 1.7.2 released","refsource":"MLIST","tags":["Mailing List","Third Party Advisory"],"title":"[ANNOUNCE] Apache CouchDB 1.7.2 released","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201812-06","name":"GLSA-201812-06","refsource":"GENTOO","tags":["Third Party Advisory"],"title":"CouchDB: Multiple vulnerabilities  (GLSA 201812-06) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://blog.couchdb.org/2018/07/10/cve-2018-8007/","name":"https://blog.couchdb.org/2018/07/10/cve-2018-8007/","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"Apache CouchDB CVE-2018-8007 – CouchDB Blog","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://mail-archives.apache.org/mod_mbox/couchdb-announce/201807.mbox/%3c1439409216.6221.1531246856676.JavaMail.Joan%40RITA%3e","name":"[couchdb-announce] 20180710 Apache CouchDB 2.1.2 released","refsource":"","tags":[],"title":"[ANNOUNCE] Apache CouchDB 2.1.2 released","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X3JOUCX7LHDV4YWZDQNXT5NTKKRANZQW/","name":"FEDORA-2020-83f513fd7e","refsource":"","tags":[],"title":"[SECURITY] Fedora 31 Update: couchdb-3.0.0-1.fc31 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X3JOUCX7LHDV4YWZDQNXT5NTKKRANZQW/","name":"FEDORA-2020-83f513fd7e","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 31 Update: couchdb-3.0.0-1.fc31 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S5FPHVVU5KMRFKQTJPAM3TBGC7LKCWQS/","name":"FEDORA-2020-73bd8167a0","refsource":"","tags":[],"title":"[SECURITY] Fedora 32 Update: couchdb-3.0.0-1.fc32 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://mail-archives.apache.org/mod_mbox/couchdb-announce/201807.mbox/%3c1439409216.6221.1531246856676.JavaMail.Joan@RITA%3e","name":"[couchdb-announce] 20180710 Apache CouchDB 2.1.2 released","refsource":"MLIST","tags":["Mailing List","Third Party Advisory"],"title":"[ANNOUNCE] Apache CouchDB 2.1.2 released","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"https://www.mdsec.co.uk/2018/08/advisory-cve-2018-8007-apache-couchdb-remote-code-execution/","name":"https://www.mdsec.co.uk/2018/08/advisory-cve-2018-8007-apache-couchdb-remote-code-execution/","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"Advisory: CVE-2018-8007 – Apache CouchDB Remote Code Execution – MDSec","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S5FPHVVU5KMRFKQTJPAM3TBGC7LKCWQS/","name":"FEDORA-2020-73bd8167a0","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 32 Update: couchdb-3.0.0-1.fc32 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/104741","name":"104741","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"Malformed Request","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-8007","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-8007","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"8007","vulnerable":"1","versionEndIncluding":"1.7.1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"apache","cpe5":"couchdb","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"8007","vulnerable":"1","versionEndIncluding":"2.1.1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"apache","cpe5":"couchdb","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@apache.org","DATE_PUBLIC":"2018-07-10T00:00:00","ID":"CVE-2018-8007","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Apache CouchDB","version":{"version_data":[{"version_value":"< 1.7.2"},{"version_value":"2.0.0 to 2.1.1"}]}}]},"vendor_name":"Apache Software Foundation"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Administrative Privilege Escalation"}]}]},"references":{"reference_data":[{"name":"[couchdb-announce] 20180710 Apache CouchDB 2.1.2 released","refsource":"MLIST","url":"http://mail-archives.apache.org/mod_mbox/couchdb-announce/201807.mbox/%3c1439409216.6221.1531246856676.JavaMail.Joan@RITA%3e"},{"name":"GLSA-201812-06","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201812-06"},{"name":"[couchdb-announce] 20180710 Apache CouchDB 1.7.2 released","refsource":"MLIST","url":"http://mail-archives.apache.org/mod_mbox/couchdb-announce/201807.mbox/%3C1699016538.6219.1531246785603.JavaMail.Joan%40RITA%3E"},{"name":"104741","refsource":"BID","url":"http://www.securityfocus.com/bid/104741"},{"name":"https://www.mdsec.co.uk/2018/08/advisory-cve-2018-8007-apache-couchdb-remote-code-execution/","refsource":"MISC","url":"https://www.mdsec.co.uk/2018/08/advisory-cve-2018-8007-apache-couchdb-remote-code-execution/"},{"name":"https://blog.couchdb.org/2018/07/10/cve-2018-8007/","refsource":"CONFIRM","url":"https://blog.couchdb.org/2018/07/10/cve-2018-8007/"},{"refsource":"CONFIRM","name":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03935en_us","url":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03935en_us"},{"refsource":"FEDORA","name":"FEDORA-2020-83f513fd7e","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X3JOUCX7LHDV4YWZDQNXT5NTKKRANZQW/"},{"refsource":"FEDORA","name":"FEDORA-2020-73bd8167a0","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S5FPHVVU5KMRFKQTJPAM3TBGC7LKCWQS/"}]}},"nvd":{"publishedDate":"2018-07-11 13:29:00","lastModifiedDate":"2023-11-07 03:01:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.2,"baseSeverity":"HIGH"},"exploitabilityScore":1.2,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":9},"severity":"HIGH","exploitabilityScore":8,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:apache:couchdb:*:*:*:*:*:*:*:*","versionStartIncluding":"2.0.0","versionEndIncluding":"2.1.1","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:apache:couchdb:*:*:*:*:*:*:*:*","versionEndIncluding":"1.7.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"8007","Ordinal":"124324","Title":"CVE-2018-8007","CVE":"CVE-2018-8007","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"8007","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"8007","Ordinal":"2","NoteData":"2018-07-11","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"8007","Ordinal":"3","NoteData":"2020-03-16","Type":"Other","Title":"Modified"}]}}}