{"id":"CVE-2018-8007","aliases":["EUVD-2018-19718","GHSA-mqj2-xj98-r5xp","SUSE-SU-2018:2578-1","SUSE-SU-2018:2765-1","UBUNTU-CVE-2018-8007"],"status":"published","title":"Apache CouchDB administrative users can configure the database server via HTTP(S). Due to...","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.","severity":{"version":"3.0","score":7.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.12164,"percentile":0.96184,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2018-07-11T13:00:00Z","modified":"2026-10-24T10:30:38Z","fixes":[{"ecosystem":"SUSE:OpenStack Cloud Crowbar 8","package":"couchdb","fixed_in":["1.7.2-3.3.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"SUSE:OpenStack Cloud 7","package":"couchdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.2-2.8.2"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Enterprise Storage 4","package":"couchdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.2-2.8.2"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:OpenStack Cloud Crowbar 8","package":"couchdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.2-3.3.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"couchdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.0-0ubuntu7"]}],"products":[{"vendor":"apache","product":"couchdb"},{"vendor":"apache software foundation","product":"apache couchdb"}],"references":[{"url":"http://mail-archives.apache.org/mod_mbox/couchdb-announce/201807.mbox/%3c1439409216.6221.1531246856676.JavaMail.Joan%40RITA%3e","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://security.gentoo.org/glsa/201812-06","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"http://mail-archives.apache.org/mod_mbox/couchdb-announce/201807.mbox/%3C1699016538.6219.1531246785603.JavaMail.Joan%40RITA%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","report"]},{"url":"http://www.securityfocus.com/bid/104741","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://www.mdsec.co.uk/2018/08/advisory-cve-2018-8007-apache-couchdb-remote-code-execution/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://blog.couchdb.org/2018/07/10/cve-2018-8007/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US\u0026docId=emr_na-hpesbmu03935en_us","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X3JOUCX7LHDV4YWZDQNXT5NTKKRANZQW/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S5FPHVVU5KMRFKQTJPAM3TBGC7LKCWQS/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-8007"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S5FPHVVU5KMRFKQTJPAM3TBGC7LKCWQS/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X3JOUCX7LHDV4YWZDQNXT5NTKKRANZQW/"},{"url":"http://mail-archives.apache.org/mod_mbox/couchdb-announce/201807.mbox/%3c1439409216.6221.1531246856676.JavaMail.Joan@RITA%3e","tags":["report"]},{"url":"https://github.com/advisories/GHSA-mqj2-xj98-r5xp"},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20182578-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1068386","tags":["report"]},{"url":"https://bugzilla.suse.com/1100973","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12636","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-8007","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2018/suse-su-20182765-1/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-8007","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-8007","tags":["report"]}],"sources":{"cve":[{"id":"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.","status":"published","published":"2018-07-11T13:00:00Z","modified":"2024-09-16T17:04:00.488Z","updated_at":"2026-11-02T14:35:04.172099Z"}],"euvd":[{"id":"EUVD-2018-19718","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.","status":"published","published":"2018-07-11T13:00:00Z","modified":"2024-09-16T17:04:00Z","updated_at":"2026-11-03T00:55:45.275329Z"}],"ghsa":[{"id":"GHSA-mqj2-xj98-r5xp","title":"Apache CouchDB administrative users can configure the database server via HTTP(S). Due to...","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.","status":"published","published":"2022-05-14T01:03:40Z","modified":"2023-02-02T05:03:00Z","cvss":[{"version":"3.0","score":7.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:51:33.40906Z"}],"nvd":[{"id":"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.","status":"published","published":"2018-07-11T13:29:00.363Z","modified":"2026-06-17T02:04:04.327Z","cvss":[{"version":"3.0","score":7.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":9,"vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:04:32.929986Z"}],"osv":[{"id":"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.","status":"published","published":"2018-07-11T13:29:00.363Z","modified":"2026-10-24T10:30:38.635438891Z","cvss":[{"version":"3.0","score":7.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:09.74357Z"},{"id":"UBUNTU-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.","status":"published","published":"2018-07-11T13:29:00Z","modified":"2025-10-24T04:46:57Z","cvss":[{"version":"3.0","score":7.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:18.772093Z"},{"id":"SUSE-SU-2018:2578-1","title":"Security update for couchdb","description":"This update for couchdb to 1.7.2 fixes the following security issues:\n\n- CVE-2018-8007: Apache CouchDB administrative users can configure the database\n  server via HTTP(S). Due to insufficient validation of administrator-supplied\n  configuration settings via the HTTP API, it was possible for a CouchDB\n  administrator user to escalate their privileges to that of the operating\n  system's user that CouchDB runs under, by bypassing the blacklist of\n  configuration settings that are not allowed to be modified via the HTTP API\n  (bsc#1100973).\n- CVE-2017-12636: CouchDB administrative users can configure the database\n  server via HTTP(S). Some of the configuration options include paths for\n  operating system-level binaries that are subsequently launched by CouchDB. This\n  allowed an admin user in Apache CouchDB to execute arbitrary shell commands as\n  the CouchDB user (bsc#1068386).\n","status":"published","published":"2018-08-31T12:16:30Z","modified":"2026-02-04T03:47:45.746683Z","updated_at":"2026-11-02T15:53:45.378228Z"},{"id":"SUSE-SU-2018:2765-1","title":"Security update for couchdb","description":"This update for couchdb fixes the following security issues:\n\n- CVE-2018-8007: Apache CouchDB administrative users can configure the database\n  server via HTTP(S). Due to insufficient validation of administrator-supplied\n  configuration settings via the HTTP API, it was possible for a CouchDB\n  administrator user to escalate their privileges to that of the operating\n  system's user that CouchDB runs under, by bypassing the blacklist of\n  configuration settings that are not allowed to be modified via the HTTP API\n  (bsc#1100973)\n","status":"published","published":"2018-09-20T06:06:05Z","modified":"2026-02-04T03:43:46.598079Z","updated_at":"2026-11-02T15:53:45.378228Z"}]}}
