Apache CouchDB up to 1.6.x/2.1.0 Database Server os command injection

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Apache CouchDB up to 1.6.x/2.1.0 and classified as critical. Impacted is an unknown function of the component Database Server. Such manipulation leads to os command injection. This vulnerability is referenced as CVE-2017-12636. It is possible to launch the attack remotely. Furthermore, an exploit is available. It is suggested to upgrade the affected component.
Details
A vulnerability was found in Apache CouchDB up to 1.6.x/2.1.0 and classified as critical. Affected by this issue is an unknown code of the component Database Server. The manipulation with an unknown input leads to a os command injection vulnerability. Using CWE to declare the problem leads to CWE-78. The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability. CVE summarizes:
CouchDB administrative users can configure the database server via HTTP(S). Some of the configuration options include paths for operating system-level binaries that are subsequently launched by CouchDB. This allows an admin user in Apache CouchDB before 1.7.0 and 2.x before 2.1.1 to execute arbitrary shell commands as the CouchDB user, including downloading and executing scripts from the public internet.
The bug was discovered 11/15/2017. The weakness was published 11/14/2017 (Website). The advisory is shared for download at lists.apache.org. This vulnerability is handled as CVE-2017-12636 since 08/07/2017. The attack may be launched remotely. A simple authentication is needed for exploitation. Technical details are unknown but a public exploit is available. The MITRE ATT&CK project declares the attack technique as T1202.
The exploit is available at exploit-db.com. It is declared as highly functional. 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 Exploit-DB (45019) and Tenable (104697). Similar entries are available at VDB-109399, VDB-122737 and VDB-128620. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Vendor
Name
Version
License
Website
- Vendor: https://www.apache.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.7VulDB Meta Temp Score: 6.6
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.2
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: Os command injectionCWE: CWE-78 / CWE-77 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
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: apache_couchdb_cmd_exec.rb
MetaSploit Name: Apache CouchDB Arbitrary Command Execution
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: 2025432
Suricata Class: 🔍
Suricata Message: 🔍
Timeline
08/07/2017 🔍11/14/2017 🔍
11/14/2017 🔍
11/15/2017 🔍
11/15/2017 🔍
11/19/2017 🔍
11/20/2017 🔍
12/31/2024 🔍
Sources
Vendor: apache.orgAdvisory: DLA 1252-1
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2017-12636 (🔍)
GCVE (CVE): GCVE-0-2017-12636
GCVE (VulDB): GCVE-100-109400
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 11/15/2017 11:18Updated: 12/31/2024 06:53
Changes: 11/15/2017 11:18 (73), 12/06/2019 14:57 (13), 01/10/2023 11:00 (4), 12/31/2024 06:53 (16)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.