nday
CVE-2017-12635

Apache CouchDB:improper privilege managementnday が生成したタイトルです(CVE レコードにタイトルなし)。

Apache Software Foundation / Apache CouchDB

公開から 160 日後に PoC が確認されています。nday はまだ修正の根拠を取得していません。修正がないという意味ではありません。PoC ソース 4 件中 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公開

apache が CVE レコードを公開。

出典 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日付のみ、ソース記載
+POCPoC 公開

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日付のみ、ソース記載
+POCPoC 公開

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"
  }
}
日時不明ソースに時刻なし
+POCPoC 公開

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
  }
}
日時不明ソースに時刻なし
+POCPoC 公開

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"
  }
}
日時不明ソースに時刻なし
+POCPoC 公開

nuclei-templates が検知テンプレート 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.