CVE-2017-12635
Apache CouchDB Role Confusion Vulnerability
Description
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.
INFO
Published Date :
Nov. 14, 2017, 8:29 p.m.
Last Modified :
Nov. 21, 2024, 3:09 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2017-12635 has a 34 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2017-12635
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
此次更新共包含1314个自定义goby-poc,是否含有后门和重复自行判断,如果无红队版,可直接poc管理处导入自定义poc即可,共计1314个。
None
基于Docker-Compose的预构建漏洞环境设计源码 Docker-Compose 漏洞环境 Java Python Shell 该项目是一套基于Docker-Compose的预构建漏洞环境设计源码,涵盖了1684个文件,其中包括405个PNG图像文件、319个Markdown文档、218个YAML配置文件、68个Java源文件、67个Python脚本、62个Shell脚本、53个XML文件、34个PHP文件以及多个Dockerfile。该环境集成了Java, Python, Shell, PHP, HTML, JavaScript, CSS, Ruby等多种编程语言,旨在为安全研究提供易用的漏洞测试平台。
A curated collection of Proof of Concept (PoC) tools, scripts, and techniques designed for red team operations, penetration testing, and cybersecurity research. This repository focuses on providing practical resources for exploring vulnerabilities
attack cybersecurity exp hw penetration-testing poc red-team security-tools vulnerability-poc
POC for CouchDB CVE-2017-12635
Python
Small & Fast Vulnerability Scanner Engine based on XRAY YAML Rule | 基于 XRAY YAML 规则的超轻量快速漏洞扫描引擎 | 基于 ANTLR 实现语法分析和完整的 XRAY YAML 规则实现 | 简单的启动参数 | 包含多种反连可用 | 可执行文件体积仅 2 MB
poc security vulnerability vulnerability-detection vulnerability-scanner web-security web-vulnerability-scanner
Batchfile Go ANTLR
Tiger是一款在攻防演练中对目标资产重点系统指纹识别、精准漏扫的工具。是一款打点神器。
None
在公网收集的gobypoc+部分自己加的poc
None
None
HVVExploitApply工具POC登记信息
None
Python Jupyter Notebook TeX
A curated list of my GitHub Stars
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2017-12635
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2017-12635
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/101868 Added Reference https://lists.apache.org/thread.html/6c405bf3f8358e6314076be9f48c89a2e0ddf00539906291ebdf0c67%40%3Cdev.couchdb.apache.org%3E Added Reference https://lists.debian.org/debian-lts-announce/2018/01/msg00026.html Added Reference https://security.gentoo.org/glsa/201711-16 Added Reference https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03935en_us Added Reference https://www.exploit-db.com/exploits/44498/ Added Reference https://www.exploit-db.com/exploits/45019/ -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference Apache Software Foundation https://lists.apache.org/thread.html/6c405bf3f8358e6314076be9f48c89a2e0ddf00539906291ebdf0c67%40%3Cdev.couchdb.apache.org%3E [No types assigned] Removed Reference Apache Software Foundation https://lists.apache.org/thread.html/6c405bf3f8358e6314076be9f48c89a2e0ddf00539906291ebdf0c67@%3Cdev.couchdb.apache.org%3E -
CWE Remap by [email protected]
Oct. 03, 2019
Action Type Old Value New Value Changed CWE CWE-264 CWE-269 -
CVE Modified by [email protected]
May. 13, 2019
Action Type Old Value New Value Added Reference https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03935en_us [No Types Assigned] -
CVE Modified by [email protected]
Jul. 28, 2018
Action Type Old Value New Value Added Reference https://www.exploit-db.com/exploits/45019/ [No Types Assigned] -
CVE Modified by [email protected]
Apr. 26, 2018
Action Type Old Value New Value Added Reference https://www.exploit-db.com/exploits/44498/ [No Types Assigned] -
CVE Modified by [email protected]
Feb. 04, 2018
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2018/01/msg00026.html [No Types Assigned] -
Initial Analysis by [email protected]
Dec. 04, 2017
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:C/I:C/A:C) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://security.gentoo.org/glsa/201711-16 No Types Assigned https://security.gentoo.org/glsa/201711-16 Third Party Advisory Changed Reference Type http://www.securityfocus.com/bid/101868 No Types Assigned http://www.securityfocus.com/bid/101868 Third Party Advisory, VDB Entry Changed Reference Type https://lists.apache.org/thread.html/6c405bf3f8358e6314076be9f48c89a2e0ddf00539906291ebdf0c67@%3Cdev.couchdb.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/6c405bf3f8358e6314076be9f48c89a2e0ddf00539906291ebdf0c67@%3Cdev.couchdb.apache.org%3E Mailing List, Vendor Advisory Added CWE CWE-264 Added CPE Configuration OR *cpe:2.3:a:apache:couchdb:*:*:*:*:*:*:*:* versions up to (excluding) 1.7.0 *cpe:2.3:a:apache:couchdb:2.0.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:couchdb:2.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:apache:couchdb:2.0.0:rc2:*:*:*:*:*:* *cpe:2.3:a:apache:couchdb:2.0.0:rc3:*:*:*:*:*:* *cpe:2.3:a:apache:couchdb:2.0.0:rc4:*:*:*:*:*:* -
CVE Modified by [email protected]
Nov. 21, 2017
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/201711-16 [No Types Assigned] -
CVE Modified by [email protected]
Nov. 19, 2017
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/101868 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2017-12635
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2017-12635
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
97.19 }} -0.18%
score
0.99906
percentile