nday
CVE-2017-12636

Apache CouchDB: command injectionTitle composed by nday; the CVE record has none.

Apache Software Foundation / Apache CouchDB

A public PoC appeared 218 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 3 of 4 PoC sources: exploitdb, metasploit, and nuclei. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

command injection
CWE-78, stated by NVD's analysts
network
AV:N in CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from NVD's analysts
no user interaction
UI:N in CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from NVD's analysts
Metasploit
Metasploit modules exploit/linux/http/apache_couchdb_cmd_exec
Exploit-DB
Exploit-DB entries 44913, 45019
nuclei
nuclei templates CVE-2017-12636
stage
POC
disclosed
disclosure → PoC
T+218d POC is date-only
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2017-11-14T20:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2018-06-20, date only +2 more
metasploit
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Event log

+DISdisclosed

CVE record published by apache.

src cvelist · nday , bulk import · raw
{
  "id": 67949,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2017-12636",
  "occurred_at": "2017-11-14T20:00:00Z",
  "observed_at": "2026-11-13T01:04:22.549374Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2017-11-14T20:00:00.000Z",
    "assigner_short_name": "apache"
  }
}
2018-06-20date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Apache CouchDB < 2.1.0 - Privilege Escalation / Remote Code Execution (RCE)” (EDB-44913). Verified by Exploit-DB.

src exploitdb 44913 · nday , bulk import · raw
{
  "id": 25484,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/44913",
  "occurred_at": "2018-06-20T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "44913",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/44913",
    "file": "exploits/linux/webapps/44913.py",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "Apache CouchDB < 2.1.0 - Privilege Escalation / Remote Code Execution (RCE)",
    "author": "Cody Zacharias",
    "edb_id": 44913,
    "cve_ids": [
      "CVE-2017-12636"
    ],
    "platform": "linux",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2018-06-20",
    "date_updated": "2018-07-13",
    "date_published": "2018-06-20"
  }
}
2018-07-13date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Apache CouchDB < 1.7.0 / < 2.1.1 - Arbitrary Command Execution (Metasploit)” (EDB-45019). Verified by Exploit-DB.

src exploitdb 45019 · nday , bulk import · raw
{
  "id": 24643,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/45019",
  "occurred_at": "2018-07-13T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "45019",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/45019",
    "file": "exploits/linux/remote/45019.rb",
    "kind": "exploit",
    "tags": [
      "Metasploit Framework (MSF)",
      "Remote"
    ],
    "type": "remote",
    "title": "Apache CouchDB < 1.7.0 / < 2.1.1 - Arbitrary Command Execution (Metasploit)",
    "author": "Metasploit",
    "edb_id": 45019,
    "cve_ids": [
      "CVE-2017-12636",
      "CVE-2017-12635"
    ],
    "platform": "linux",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2018-07-13",
    "date_updated": "2018-07-13",
    "date_published": "2018-07-13"
  }
}
no source time; observed live by nday
+POCpublic PoC

Nuclei has detection template CVE-2017-12636 (Apache CouchDB < 1.7.0 / 2.x < 2.1.1 - Query Server Remote Code Execution). The source gives no release time for the template.

src nuclei · nday , observed live · raw
{
  "id": 499617,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-12636.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-23T01:03:41.000456Z",
  "is_backfill": false,
  "dedupe_key": "CVE-2017-12636",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-12636.yaml",
    "kind": "detection_template",
    "title": "Apache CouchDB < 1.7.0 / 2.x < 2.1.1 - Query Server Remote Code Execution",
    "severity": "high",
    "confidence": "curated",
    "cvss_score": "7.2",
    "template_id": "CVE-2017-12636",
    "template_path": "http/cves/2017/CVE-2017-12636.yaml"
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module exploit/linux/http/apache_couchdb_cmd_exec (Apache CouchDB Arbitrary Command Execution). The source gives no release time for the module.

src metasploit exploit/linux/http/apache_couchdb_cmd_exec · nday , bulk import · raw
{
  "id": 50392,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/apache_couchdb_cmd_exec.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/linux/http/apache_couchdb_cmd_exec",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/apache_couchdb_cmd_exec.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/linux/http/apache_couchdb_cmd_exec.rb",
    "rank": 600,
    "check": true,
    "title": "Apache CouchDB Arbitrary Command Execution",
    "cve_ids": [
      "CVE-2017-12636",
      "CVE-2017-12635"
    ],
    "fullname": "exploit/linux/http/apache_couchdb_cmd_exec",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2026-04-22 11:54:55 +0000",
    "vuln_disclosure_date": "2016-04-06"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.