nday
CVE-2017-12635

Apache CouchDB:improper privilege management標題由 nday 產生;CVE 紀錄未附標題。

Apache Software Foundation / Apache CouchDB

揭露 160 天後出現公開 PoC。nday 尚未取得修補依據,不能據此認為沒有修補。4 個 PoC 來源中有 3 個收錄:exploitdb、metasploit 與 nuclei。目前未列入 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.

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
目前階段
POC
揭露時間
揭露 → 公開 PoC
T+160d POC 僅有日期
CVSS
暫無評分

生命週期

橫軸 UTC;點=精確到分鐘,寬條=僅日期,空心=不明或推斷。
時間不明
DIS揭露
2017-11-14T20:00Z
PAT修補
尚無紀錄
ANA分析
尚無紀錄
POCPoC
2018-04-23 僅日期 另 1 筆
metasploit、nuclei
ITW遭利用
尚無紀錄
KEVKEV
尚無紀錄

摘要

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.

事件紀錄

+DIS揭露

CVE 紀錄由 apache 發布。

來源 cvelist · nday 於 批次匯入 · 原始
{
  "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-23僅日期,由來源提供
+POC公開 PoC

Exploit-DB 收錄了公開的漏洞利用程式碼「Apache CouchDB 1.7.0 / 2.x < 2.1.1 - Unauthenticated Remote Privilege Escalation」(EDB-44498)。

來源 exploitdb 44498 · nday 於 批次匯入 · 原始
{
  "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-13僅日期,由來源提供
+POC公開 PoC

Exploit-DB 收錄了公開的漏洞利用程式碼「Apache CouchDB < 1.7.0 / < 2.1.1 - Arbitrary Command Execution (Metasploit)」(EDB-45019)。Exploit-DB 已驗證此程式碼。

來源 exploitdb 45019 · nday 於 批次匯入 · 原始
{
  "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"
  }
}
時間不明來源未提供時間
+POC公開 PoC

Metasploit 已有模組 auxiliary/scanner/couchdb/couchdb_enum(CouchDB Enum Utility)。來源未提供模組的釋出時間。

來源 metasploit auxiliary/scanner/couchdb/couchdb_enum · nday 於 批次匯入 · 原始
{
  "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
  }
}
時間不明來源未提供時間
+POC公開 PoC

Metasploit 已有模組 exploit/linux/http/apache_couchdb_cmd_exec(Apache CouchDB Arbitrary Command Execution)。來源未提供模組的釋出時間。

來源 metasploit exploit/linux/http/apache_couchdb_cmd_exec · nday 於 批次匯入 · 原始
{
  "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"
  }
}
時間不明來源未提供時間
+POC公開 PoC

Nuclei 已有偵測範本 CVE-2017-12635(Apache CouchDB 1.7.0 / 2.x < 2.1.1 - Remote Privilege Escalation)。來源未提供範本的釋出時間。

來源 nuclei · nday 於 批次匯入 · 原始
{
  "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.

研究員討論

近 7 天有 0 位研究員提及

名單內研究員在 X 上提及此 CVE 的貼文,照原文呈現,nday 不查核。

尚未收錄名單內研究員在 X 上提及此 CVE 的貼文。

Discussion

0 comments

No comments yet.