nday
CVE-2017-12635

Apache CouchDB:improper privilege management标题由 nday 生成;CVE 记录未提供标题。

Apache Software Foundation / Apache CouchDB

披露后第 160 天出现公开 PoC。本站尚未获取修复依据,不能据此认为没有补丁。PoC 来源中 exploitdb、metasploit、nuclei 已收录(3/4)。尚未列入 CISA KEV。

这些标签的依据

这些标签由 nday 按固定规则从下列事实自动推导,不是 NVD、编号分配方或其他来源给出的。全部标签和规则见 ~/tags。

improper privilege management
CWE-269(来源:NVD 分析人员)
远程未授权
NVD 分析人员 给出的 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.0)中的 AV:N、PR:N、UI:N
网络
NVD 分析人员 给出的 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.0)中的 AV:N
无需认证
NVD 分析人员 给出的 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.0)中的 PR:N
无需用户交互
NVD 分析人员 给出的 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.0)中的 UI:N
Metasploit
Metasploit 模块 auxiliary/scanner/couchdb/couchdb_enum、exploit/linux/http/apache_couchdb_cmd_exec
Exploit-DB
Exploit-DB 条目 44498、45019
nuclei
nuclei 模板 CVE-2017-12635
当前阶段
POC
披露
披露到公开 PoC
T+160d POC 为日精度
CVSS
暂无评分

生命周期

横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
2017-11-14T20:00Z
PAT补丁
尚无记录
ANA分析
尚无记录
POCPoC
2018-04-23 日精度 等 2 条
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.

以上是 CVE 记录(cvelist)中的原文,未经改写。

事件记录

+DIS披露

CVE 记录发布,编号分配方是 apache。

来源 cvelist · 本站 批量导入 · 原始记录
{
  "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 · 本站 批量导入 · 原始记录
{
  "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 · 本站 批量导入 · 原始记录
{
  "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 · 本站 批量导入 · 原始记录
{
  "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 · 本站 批量导入 · 原始记录
{
  "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 · 本站 批量导入 · 原始记录
{
  "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"
  }
}

纠错

报告错误或缺失

页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。

研究员讨论

近 7 天有 0 位研究员提到

研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。

尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。

讨论

0 条评论

还没有评论。