{"id":"CVE-2017-12636","url":"https://www.cyber-defence.io/tools/cve/CVE-2017-12636","generatedAt":"2026-10-28T21:22:07.438Z","title":"This allows an admin user in Apache CouchDB before 1.7.0 and 2.x before 2.1.1 to execute arbitrary shell commands as the CouchDB user, including downloading and executing scripts from the public internet.","description":"CouchDB administrative users can configure the database server via HTTP(S). Some of the configuration options include paths for operating system-level binaries that are subsequently launched by CouchDB. This allows an admin user in Apache CouchDB before 1.7.0 and 2.x before 2.1.1 to execute arbitrary shell commands as the CouchDB user, including downloading and executing scripts from the public internet.","published":"2017-11-14T20:29:00.000Z","lastModified":"2026-06-17T01:03:43.000Z","status":"Modified","sourceIdentifier":"security@apache.org","cvss":{"version":"3.0","score":7.2,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-78"],"affected":["apache/couchdb"],"epss":{"score":0.90602,"percentile":0.99801,"date":"2026-10-27","history":[{"date":"2026-09-21","score":0.87919,"percentile":0.9976},{"date":"2026-09-22","score":0.8973,"percentile":0.99783}]},"kev":{"listed":false},"exploits":{"count":2,"verified":true,"firstPublished":"2018-06-20","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":45019,"kind":"exploit","title":"Apache CouchDB - Arbitrary Command Execution (Metasploit)","url":"https://www.exploit-db.com/exploits/45019","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/remote/45019.rb","file":"exploits/linux/remote/45019.rb","published":"2018-07-13","added":"2018-07-13","updated":"2018-07-13","author":"Metasploit","type":"remote","platform":"linux","port":5984,"verified":true,"codes":["CVE-2017-12636","CVE-2017-12635"],"tags":"Remote","aliases":null,"applicationUrl":"http://www.exploit-db.comapache-couchdb-1.6.0.tar.gz","screenshotUrl":null,"referenceUrl":"https://raw.githubusercontent.com/rapid7/metasploit-framework/c9001699cd3a32e907262ce2816aaf91ae5ffd17/modules/exploits/linux/http/apache_couchdb_cmd_exec.rb"},{"edbId":44913,"kind":"exploit","title":"Apache CouchDB < 2.1.0 - Remote Code Execution","url":"https://www.exploit-db.com/exploits/44913","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/webapps/44913.py","file":"exploits/linux/webapps/44913.py","published":"2018-06-20","added":"2018-06-20","updated":"2018-07-13","author":"Cody Zacharias","type":"webapps","platform":"linux","port":null,"verified":true,"codes":["CVE-2017-12636"],"tags":null,"aliases":null,"applicationUrl":"http://www.exploit-db.comapache-couchdb-1.6.0.tar.gz","screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 90.6%, higher than 100% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"https://lists.apache.org/thread.html/6c405bf3f8358e6314076be9f48c89a2e0ddf00539906291ebdf0c67%40%3Cdev.couchdb.apache.org%3E","source":"security@apache.org"},{"url":"https://lists.debian.org/debian-lts-announce/2018/01/msg00026.html","source":"security@apache.org"},{"url":"https://security.gentoo.org/glsa/201711-16","tags":["Third Party Advisory"],"source":"security@apache.org"},{"url":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03935en_us","source":"security@apache.org"},{"url":"https://www.exploit-db.com/exploits/44913/","source":"security@apache.org"},{"url":"https://www.exploit-db.com/exploits/45019/","source":"security@apache.org"},{"url":"https://lists.apache.org/thread.html/6c405bf3f8358e6314076be9f48c89a2e0ddf00539906291ebdf0c67%40%3Cdev.couchdb.apache.org%3E","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2018/01/msg00026.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/201711-16","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03935en_us","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/44913/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/45019/","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-12636","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}