CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
8.4 | $0-$5k | 0.00 |
A vulnerability has been found in Apache CouchDB up to 1.6.x/2.1.0 and classified as critical. Affected by this vulnerability is an unknown part of the component JSON Parser. The manipulation with an unknown input leads to a access control vulnerability. The CWE definition for the vulnerability is CWE-264. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
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.
The bug was discovered 11/15/2017. The weakness was shared 11/14/2017 (Website). It is possible to read the advisory at lists.apache.org. This vulnerability is known as CVE-2017-12635 since 08/07/2017. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details are unknown but a public exploit is available. The attack technique deployed by this issue is T1068 according to MITRE ATT&CK.
It is possible to download the exploit at exploit-db.com. It is declared as highly functional. We expect the 0-day to have been worth approximately $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 104697 (GLSA-201711-16 : CouchDB: Multiple vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 20056 (Apache CouchDB Multiple Vulnerabilities.).
Upgrading to version 1.7.0 or 2.1.1 eliminates this vulnerability. A possible mitigation has been published 5 days after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (104697) and Exploit-DB (45019). The entries 109400, 122737 and 128620 are related to this item.
Product
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.5VulDB Meta Temp Score: 8.4
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Access controlCWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Highly functional
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 104697
Nessus Name: GLSA-201711-16 : CouchDB: Multiple vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 703923
OpenVAS Name: CrouchDB Multiple Vulnerabilities (Windows)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
MetaSploit ID: couchdb_enum.rb
MetaSploit Name: CouchDB Enum Utility
MetaSploit File: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: CouchDB 1.7.0/2.1.1
Suricata ID: 2025435
Suricata Class: 🔍
Suricata Message: 🔍
Timeline
08/07/2017 🔍11/14/2017 🔍
11/14/2017 🔍
11/14/2017 🔍
11/15/2017 🔍
11/15/2017 🔍
11/19/2017 🔍
11/20/2017 🔍
01/10/2023 🔍
Sources
Vendor: apache.orgAdvisory: DLA 1252-1
Status: Not defined
Confirmation: 🔍
CVE: CVE-2017-12635 (🔍)
SecurityFocus: 101868 - Apache CouchDB CVE-2017-12635 Remote Privilege Escalation Vulnerability
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 11/15/2017 11:17Updated: 01/10/2023 10:53
Changes: 11/15/2017 11:17 (75), 12/06/2019 14:45 (15), 01/10/2023 10:53 (4)
Complete: 🔍
Cache ID: 3:E3B:103
No comments yet. Languages: en.
Please log in to comment.