nday
CVE-2017-12635

Apache CouchDB : improper privilege managementTitre composé par nday ; la fiche CVE n’en comporte pas.

Apache Software Foundation / Apache CouchDB

Preuve de concept publique parue 160 jours après la divulgation. nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité figure dans 3 des 4 sources de PoC : exploitdb, metasploit et nuclei. Aucune inscription au catalogue KEV de la CISA à ce jour.

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
étape actuelle
POC
divulgation
délai avant PoC
T+160d POC : date seule
CVSS
pas encore de score

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2017-11-14T20:00Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
2018-04-23, date seule +1 autre
metasploit, nuclei
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Journal des événements

+DISdivulgation

Fiche CVE publiée par apache.

source cvelist · importé en masse par nday le · brut
{
  "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-23date seule, selon la source
+POCPoC publique

Exploit-DB recense un code d’exploitation public : « Apache CouchDB 1.7.0 / 2.x < 2.1.1 - Unauthenticated Remote Privilege Escalation » (EDB-44498).

source exploitdb 44498 · importé en masse par nday le · brut
{
  "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-13date seule, selon la source
+POCPoC publique

Exploit-DB recense un code d’exploitation public : « Apache CouchDB < 1.7.0 / < 2.1.1 - Arbitrary Command Execution (Metasploit) » (EDB-45019). Code vérifié par Exploit-DB.

source exploitdb 45019 · importé en masse par nday le · brut
{
  "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"
  }
}
date inconnuela source ne donne aucune date
+POCPoC publique

Metasploit propose le module auxiliary/scanner/couchdb/couchdb_enum (« CouchDB Enum Utility »). La source n’indique pas la date de publication du module.

source metasploit auxiliary/scanner/couchdb/couchdb_enum · importé en masse par nday le · brut
{
  "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
  }
}
date inconnuela source ne donne aucune date
+POCPoC publique

Metasploit propose le module exploit/linux/http/apache_couchdb_cmd_exec (« Apache CouchDB Arbitrary Command Execution »). La source n’indique pas la date de publication du module.

source metasploit exploit/linux/http/apache_couchdb_cmd_exec · importé en masse par nday le · brut
{
  "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"
  }
}
date inconnuela source ne donne aucune date
+POCPoC publique

Nuclei propose le modèle de détection CVE-2017-12635 (« Apache CouchDB 1.7.0 / 2.x < 2.1.1 - Remote Privilege Escalation »). La source n’indique pas la date de publication du modèle.

source nuclei · importé en masse par nday le · brut
{
  "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.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.