{"schemaVersion":3,"id":"CVE-2017-12636","aliases":["UBUNTU-CVE-2017-12636"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2017-11-14T20:00:00.000Z","modified":"2024-09-16T18:48:31.205Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","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","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9,"severity":"high","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","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","exploitability":3.1,"impact":9.8,"computed":true}]},"epss":{"probability":0.90602,"percentile":0.99804,"severity":"critical","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.8720000000000061,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.8973},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.87919,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.90602,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.90602,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.90602,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.90602,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.90602,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.90602,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.90602,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.90602,"percentile":0.99804}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.87919,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.8973,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.90602,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.90602,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.90602,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.90602,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.90602,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.90602,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.90602,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.90602,"percentile":0.99804}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"45019","name":"Apache CouchDB - Arbitrary Command Execution (Metasploit)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/45019","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"remote","platforms":["linux"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"remote","platform":"linux","file":"exploits/linux/remote/45019.rb","codes":["CVE-2017-12636","CVE-2017-12635"]},"metasploit":null},{"id":"44913","name":"Apache CouchDB < 2.1.0 - Remote Code Execution","source":"exploit-database","url":"https://www.exploit-db.com/exploits/44913","maturity":"poc","reliabilityScore":0.8,"verified":true,"type":null,"platforms":["linux"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"webapps","platform":"linux","file":"exploits/linux/webapps/44913.py","codes":["CVE-2017-12636"]},"metasploit":null},{"id":"MSF_EXPLOIT_LINUX_HTTP_APACHE_COUCHDB_CMD_EXEC","name":"Apache CouchDB Arbitrary Command Execution","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/http/apache_couchdb_cmd_exec.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":true,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/http/apache_couchdb_cmd_exec","rank":"600","rankName":"excellent","postAuth":true,"check":true,"stability":["unknown-stability"],"sideEffects":["unknown-side-effects"],"reliability":["unknown-reliability"]}}],"exploitCount":3,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"apache software foundation","product":"apache couchdb","name":"Apache CouchDB","label":"apache couchdb","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.2.0 to 1.6.1","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0 to 2.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.2.0 to 1.6.1 | 2.0.0 to 2.1.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_couchdb"},{"vendor":"apache","product":"couchdb","name":"CouchDB","label":"couchdb","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.7.0","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:rc1","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:rc2","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:rc3","noFixRecorded":false,"fixedIn":null},{"text":"2.0.0:rc4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.7.0 | 2.0.0 | 2.0.0:rc1 | 2.0.0:rc2 | 2.0.0:rc3 | 2.0.0:rc4","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-couchdb","label":"Apache CouchDB","category":"database"}},"hubHref":"/vendor/apache/couchdb"},{"vendor":"ubuntu","product":"couchdb","name":"couchdb","label":"couchdb","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/couchdb","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.exploit-db.com/exploits/45019/","label":"www.exploit-db.com/exploits/45019/","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB"]},{"url":"https://lists.apache.org/thread.html/6c405bf3f8358e6314076be9f48c89a2e0ddf00539906291ebdf0c67%40%3Cdev.couchdb.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://www.exploit-db.com/exploits/44913/","label":"www.exploit-db.com/exploits/44913/","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB"]},{"url":"https://security.gentoo.org/glsa/201711-16","label":"security.gentoo.org/glsa/201711-16","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/01/msg00026.html","label":"lists.debian.org/debian-lts-announce/2018/01/msg00026.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03935en_us","label":"support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03935en_us","hostname":"support.hpe.com","tags":["X Refsource CONFIRM"]},{"url":"https://ubuntu.com/security/CVE-2017-12636","label":"ubuntu.com/security/CVE-2017-12636","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"http://www.openwall.com/lists/oss-security/2017/11/14/6","label":"www.openwall.com/lists/oss-security/2017/11/14/6","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://lists.apache.org/thread.html/6c405bf3f8358e6314076be9f48c89a2e0ddf00539906291ebdf0c67@%3Cdev.couchdb.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-12636","label":"www.cve.org/CVERecord?id=CVE-2017-12636","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["DLA-1252-1","SUSE-SU-2018:2578-1"],"duplicates":[],"related":["SUSE-SU-2018:2578-1"]},"timeline":[{"kind":"published","date":"2017-11-14T20:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-16T18:48:31.205Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T20:07:20.645Z","stale":false,"partial":false}}