nday
CVE-2017-12635

Apache CouchDB: improper privilege managementTítulo compuesto por nday; el registro CVE no tiene título.

Apache Software Foundation / Apache CouchDB

Apareció una PoC pública 160 días después de la divulgación. nday aún no tiene constancia de una corrección; eso no significa que no exista parche. La recogen 3 de las 4 fuentes de PoC: exploitdb, metasploit y nuclei. No figura en el KEV de CISA.

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.

improper privilege management
CWE-269, stated by NVD's analysts
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from NVD's analysts
network
AV:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from NVD's analysts
no authentication required
PR:N in CVSS:3.0/AV:N/AC:L/PR:N/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:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from NVD's analysts
Metasploit
Metasploit modules auxiliary/scanner/couchdb/couchdb_enum, exploit/linux/http/apache_couchdb_cmd_exec
Exploit-DB
Exploit-DB entries 44498, 45019
nuclei
nuclei templates CVE-2017-12635
etapa
POC
divulgación
divulgación → PoC
T+160d POC: solo fecha
cvss
sin puntuación aún

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
2017-11-14T20:00Z
PATparcheada
sin registro aún
ANAanalizada
sin registro aún
POCPoC
2018-04-23, solo fecha +1 más
metasploit, nuclei
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

Due to differences in the Erlang-based JSON parser and JavaScript-based JSON parser, it is possible in Apache CouchDB before 1.7.0 and 2.x before 2.1.1 to submit _users documents with duplicate keys for 'roles' used for access control within the database, including the special case '_admin' role, that denotes administrative users. In combination with CVE-2017-12636 (Remote Code Execution), this can be used to give non-admin users access to arbitrary shell commands on the server as the database system user. The JSON parser differences result in behaviour that if two 'roles' keys are available in the JSON, the second one will be used for authorising the document write, but the first 'roles' key is used for subsequent authorization for the newly created user. By design, users can not assign themselves roles. The vulnerability allows non-admin users to give themselves admin privileges.

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

Registro de eventos

+DISdivulgación

apache publicó el registro CVE.

fuente cvelist · nday , importación masiva · en bruto
{
  "id": 67948,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2017-12635",
  "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-04-23solo fecha, según la fuente
+POCPoC pública

Exploit-DB recoge el exploit público «Apache CouchDB 1.7.0 / 2.x < 2.1.1 - Unauthenticated Remote Privilege Escalation» (EDB-44498).

fuente exploitdb 44498 · nday , importación masiva · en bruto
{
  "id": 25483,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/44498",
  "occurred_at": "2018-04-23T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "44498",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/44498",
    "file": "exploits/linux/webapps/44498.py",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "Apache CouchDB 1.7.0 / 2.x < 2.1.1 - Unauthenticated Remote Privilege Escalation",
    "author": "r4wd3r",
    "edb_id": 44498,
    "cve_ids": [
      "CVE-2017-12635"
    ],
    "platform": "linux",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2018-04-23",
    "date_updated": "2018-09-24",
    "date_published": "2018-04-23"
  }
}
2018-07-13solo fecha, según la fuente
+POCPoC pública

Exploit-DB recoge el exploit público «Apache CouchDB < 1.7.0 / < 2.1.1 - Arbitrary Command Execution (Metasploit)» (EDB-45019). Verificado por Exploit-DB.

fuente exploitdb 45019 · nday , importación masiva · en bruto
{
  "id": 24644,
  "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"
  }
}
se desconocela fuente no indica fecha
+POCPoC pública

Metasploit incluye el módulo auxiliary/scanner/couchdb/couchdb_enum (CouchDB Enum Utility). La fuente no indica cuándo se publicó el módulo.

fuente metasploit auxiliary/scanner/couchdb/couchdb_enum · nday , importación masiva · en bruto
{
  "id": 49932,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/couchdb/couchdb_enum.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "auxiliary/scanner/couchdb/couchdb_enum",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/couchdb/couchdb_enum.rb",
    "kind": "msf_module",
    "path": "/modules/auxiliary/scanner/couchdb/couchdb_enum.rb",
    "rank": 300,
    "check": true,
    "title": "CouchDB Enum Utility",
    "cve_ids": [
      "CVE-2017-12635"
    ],
    "fullname": "auxiliary/scanner/couchdb/couchdb_enum",
    "rank_name": "normal",
    "confidence": "curated",
    "module_type": "auxiliary",
    "module_last_modified": "2026-04-22 14:30:48 +0000",
    "vuln_disclosure_date": null
  }
}
se desconocela fuente no indica fecha
+POCPoC pública

Metasploit incluye el módulo exploit/linux/http/apache_couchdb_cmd_exec (Apache CouchDB Arbitrary Command Execution). La fuente no indica cuándo se publicó el módulo.

fuente metasploit exploit/linux/http/apache_couchdb_cmd_exec · nday , importación masiva · en bruto
{
  "id": 50393,
  "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"
  }
}
se desconocela fuente no indica fecha
+POCPoC pública

Nuclei tiene la plantilla de detección CVE-2017-12635 (Apache CouchDB 1.7.0 / 2.x < 2.1.1 - Remote Privilege Escalation). La fuente no indica cuándo se publicó la plantilla.

fuente nuclei · nday , importación masiva · en bruto
{
  "id": 53493,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-12635.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2017-12635",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-12635.yaml",
    "kind": "detection_template",
    "title": "Apache CouchDB 1.7.0 / 2.x < 2.1.1 - Remote Privilege Escalation",
    "severity": "critical",
    "confidence": "curated",
    "cvss_score": "9.8",
    "template_id": "CVE-2017-12635",
    "template_path": "http/cves/2017/CVE-2017-12635.yaml"
  }
}

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.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.