This CPE summary could be partial or incomplete. Please contact us for a detailed listing.

Summary

Detail
Vendor Apache First view 2010-04-05
Product Couchdb Last view 2023-12-13
Version 0.9.2 Type Application
Update *  
Edition *  
Language *  
Sofware Edition *  
Target Software *  
Target Hardware *  
Other *  
 
CPE Product cpe:2.3:a:apache:couchdb

Activity : Overall

Related : CVE

  Date Alert Description
5.7 2023-12-13 CVE-2023-45725

Design document functions which receive a user http request object may expose authorization or session cookie headers of the user who accesses the document.

These design document functions are:
* Â list
* Â show
* Â rewrite
* Â update

An attacker can leak the session component using an HTML-like output, insert the session as an external resource (such as an image), or store the credential in a _local document with an "update" function.

For the attack to succeed the attacker has to be able to insert the design documents into the database, then manipulate a user to access a function from that design document.

Workaround: Avoid using design documents from untrusted sources which may attempt to access or manipulate request object's headers

5.3 2023-05-02 CVE-2023-26268

Design documents with matching document IDs, from databases on the same cluster, may share a mutable Javascript environment when using these design document functions:
* validate_doc_update

* list

* filter

* filter views (using view functions as filters)

* rewrite

* update

This doesn't affect map/reduce or search (Dreyfus) index functions.

Users are recommended to upgrade to a version that is no longer affected by this issue (Apache CouchDB 3.3.2 or 3.2.3).

Workaround: Avoid using design documents from untrusted sources which may attempt to cache or store data in the Javascript environment.

9.8 2022-04-26 CVE-2022-24706

In Apache CouchDB prior to 3.2.2, an attacker can access an improperly secured default installation without authenticating and gain admin privileges. The CouchDB documentation has always made recommendations for properly securing an installation, including recommending using a firewall in front of all CouchDB installations.

7.3 2021-10-14 CVE-2021-38295

In Apache CouchDB, a malicious user with permission to create documents in a database is able to attach a HTML attachment to a document. If a CouchDB admin opens that attachment in a browser, e.g. via the CouchDB admin interface Fauxton, any JavaScript code embedded in that HTML attachment will be executed within the security context of that admin. A similar route is available with the already deprecated _show and _list functionality. This privilege escalation vulnerability allows an attacker to add or remove data in any database or make configuration changes. This issue affected Apache CouchDB prior to 3.1.2

7.2 2019-01-02 CVE-2018-17188

Prior to CouchDB version 2.3.0, CouchDB allowed for runtime-configuration of key components of the database. In some cases, this lead to vulnerabilities where CouchDB admin users could access the underlying operating system as the CouchDB user. Together with other vulnerabilities, it allowed full system entry for unauthenticated users. Rather than waiting for new vulnerabilities to be discovered, and fixing them as they come up, the CouchDB development team decided to make changes to avoid this entire class of vulnerabilities.

7.2 2018-08-08 CVE-2018-11769

CouchDB administrative users before 2.2.0 can configure the database server via HTTP(S). Due to insufficient validation of administrator-supplied configuration settings via the HTTP API, it is possible for a CouchDB administrator user to escalate their privileges to that of the operating system's user under which CouchDB runs, by bypassing the blacklist of configuration settings that are not allowed to be modified via the HTTP API. This privilege escalation effectively allows a CouchDB admin user to gain arbitrary remote code execution, bypassing CVE-2017-12636 and CVE-2018-8007.

7.2 2018-07-11 CVE-2018-8007

Apache CouchDB administrative users can configure the database server via HTTP(S). Due to insufficient validation of administrator-supplied configuration settings via the HTTP API, it is possible for a CouchDB administrator user to escalate their privileges to that of the operating system's user that CouchDB runs under, by bypassing the blacklist of configuration settings that are not allowed to be modified via the HTTP API. This privilege escalation effectively allows an existing CouchDB admin user to gain arbitrary remote code execution, bypassing already disclosed CVE-2017-12636. Mitigation: All users should upgrade to CouchDB releases 1.7.2 or 2.1.2.

7.2 2017-11-14 CVE-2017-12636

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.

9.8 2017-11-14 CVE-2017-12635

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.

6.8 2014-05-23 CVE-2012-5649

Apache CouchDB before 1.0.4, 1.1.x before 1.1.2, and 1.2.x before 1.2.1 allows remote attackers to execute arbitrary code via a JSONP callback, related to Adobe Flash.

5 2014-03-28 CVE-2014-2668

Apache CouchDB 1.5.0 and earlier allows remote attackers to cause a denial of service (CPU and memory consumption) via the count parameter to /_uuids.

4.3 2014-03-18 CVE-2012-5650

Cross-site scripting (XSS) vulnerability in the Futon UI in Apache CouchDB before 1.0.4, 1.1.x before 1.1.2, and 1.2.x before 1.2.1 allows remote attackers to inject arbitrary web script or HTML via unspecified parameters to the browser-based test suite.

5 2014-03-18 CVE-2012-5641

Directory traversal vulnerability in the partition2 function in mochiweb_util.erl in MochiWeb before 2.4.0, as used in Apache CouchDB before 1.0.4, 1.1.x before 1.1.2, and 1.2.x before 1.2.1, allows remote attackers to read arbitrary files via a ..\ (dot dot backslash) in the default URI.

4.3 2011-02-01 CVE-2010-3854

Multiple cross-site scripting (XSS) vulnerabilities in the web administration interface (aka Futon) in Apache CouchDB 0.8.0 through 1.0.1 allow remote attackers to inject arbitrary web script or HTML via unspecified vectors.

6.8 2010-08-19 CVE-2010-2234

Cross-site request forgery (CSRF) vulnerability in Apache CouchDB 0.8.0 through 0.11.0 allows remote attackers to hijack the authentication of administrators for direct requests to an installation URL.

4.3 2010-04-05 CVE-2010-0009

Apache CouchDB 0.8.0 through 0.10.1 allows remote attackers to obtain sensitive information by measuring the completion time of operations that verify (1) hashes or (2) passwords.

CWE : Common Weakness Enumeration

%idName
27% (3) CWE-79 Failure to Preserve Web Page Structure ('Cross-site Scripting')
18% (2) CWE-20 Improper Input Validation
9% (1) CWE-352 Cross-Site Request Forgery (CSRF)
9% (1) CWE-269 Improper Privilege Management
9% (1) CWE-200 Information Exposure
9% (1) CWE-94 Failure to Control Generation of Code ('Code Injection')
9% (1) CWE-78 Improper Sanitization of Special Elements used in an OS Command ('O...
9% (1) CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path ...

Open Source Vulnerability Database (OSVDB)

id Description
70734 Apache CouchDB Request / Cookie Handling Unspecified XSS
67240 Apache CouchDB Installation Page Direct Request Arbitrary JavaScript Code Exe...
63350 Apache CouchDB Hash Verification Algorithm Predictable Execution Time Weakness

OpenVAS Exploits

id Description
2011-06-10 Name : Fedora Update for couchdb FEDORA-2011-7232
File : nvt/gb_fedora_2011_7232_couchdb_fc14.nasl
2011-02-02 Name : Apache CouchDB Web Administration Interface Cross Site Scripting Vulnerability
File : nvt/gb_couchdb_46066.nasl
2010-09-22 Name : Fedora Update for couchdb FEDORA-2010-13640
File : nvt/gb_fedora_2010_13640_couchdb_fc13.nasl
2010-09-22 Name : Fedora Update for couchdb FEDORA-2010-13665
File : nvt/gb_fedora_2010_13665_couchdb_fc12.nasl
2010-08-30 Name : Apache CouchDB Cross Site Request Forgery Vulnerability
File : nvt/gb_couchdb_42501.nasl
2010-05-17 Name : Fedora Update for couchdb FEDORA-2010-8275
File : nvt/gb_fedora_2010_8275_couchdb_fc11.nasl
2010-05-17 Name : Fedora Update for couchdb FEDORA-2010-8298
File : nvt/gb_fedora_2010_8298_couchdb_fc12.nasl
2010-04-12 Name : CouchDB Message Digest Verification Security Bypass Vulnerability
File : nvt/gb_couchdb_39116.nasl

Snort® IPS/IDS

Date Description
2019-09-26 Apache CouchDB _config command injection attempt
RuleID : 51287 - Type : SERVER-WEBAPP - Revision : 2
2018-05-29 Apache CouchDB remote code execution attempt
RuleID : 46440 - Type : SERVER-OTHER - Revision : 1
2018-02-03 Apache CouchDB remote code execution attempt
RuleID : 45269 - Type : SERVER-OTHER - Revision : 3
2017-12-19 Apache CouchDB remote privilege escalation attempt
RuleID : 44890 - Type : SERVER-OTHER - Revision : 3

Nessus® Vulnerability Scanner

This CPE have more than 25 Relations. If you want to see a complete summary for this CPE, please contact us.
id Description
2018-12-21 Name: The remote FreeBSD host is missing one or more security-related updates.
File: freebsd_pkg_1999a215fc6b11e88a95ac1f6b67e138.nasl - Type: ACT_GATHER_INFO
2018-12-17 Name: The remote Gentoo host is missing one or more security-related patches.
File: gentoo_GLSA-201812-06.nasl - Type: ACT_GATHER_INFO
2018-08-22 Name: The remote FreeBSD host is missing a security-related update.
File: freebsd_pkg_9b19b6dfa4be11e893660028f8d09152.nasl - Type: ACT_GATHER_INFO
2018-08-17 Name: The remote database server is potentially affected by a privilege escalation ...
File: couchdb_2_2_0.nasl - Type: ACT_GATHER_INFO
2018-07-12 Name: The remote FreeBSD host is missing a security-related update.
File: freebsd_pkg_1e54d140849311e8a7950028f8d09152.nasl - Type: ACT_GATHER_INFO
2018-01-22 Name: The remote Debian host is missing a security update.
File: debian_DLA-1252.nasl - Type: ACT_GATHER_INFO
2018-01-15 Name: The remote Fedora host is missing one or more security updates.
File: fedora_2017-a20d92573b.nasl - Type: ACT_GATHER_INFO
2017-11-20 Name: The remote Gentoo host is missing one or more security-related patches.
File: gentoo_GLSA-201711-16.nasl - Type: ACT_GATHER_INFO
2014-12-15 Name: The remote Gentoo host is missing one or more security-related patches.
File: gentoo_GLSA-201412-16.nasl - Type: ACT_GATHER_INFO
2014-07-22 Name: The remote Fedora host is missing one or more security updates.
File: fedora_2014-7657.nasl - Type: ACT_GATHER_INFO
2014-07-22 Name: The remote Fedora host is missing one or more security updates.
File: fedora_2014-7645.nasl - Type: ACT_GATHER_INFO
2014-06-13 Name: The remote openSUSE host is missing a security update.
File: openSUSE-2014-299.nasl - Type: ACT_GATHER_INFO
2014-05-19 Name: The remote Mandriva Linux host is missing one or more security updates.
File: mandriva_MDVSA-2014-093.nasl - Type: ACT_GATHER_INFO
2013-05-28 Name: The remote FreeBSD host is missing a security-related update.
File: freebsd_pkg_4fb45a1cc5d011e28400001b216147b0.nasl - Type: ACT_GATHER_INFO
2013-04-20 Name: The remote Mandriva Linux host is missing one or more security updates.
File: mandriva_MDVSA-2013-067.nasl - Type: ACT_GATHER_INFO
2013-02-04 Name: The remote Fedora host is missing a security update.
File: fedora_2013-1387.nasl - Type: ACT_GATHER_INFO
2013-02-04 Name: The remote Fedora host is missing a security update.
File: fedora_2013-1375.nasl - Type: ACT_GATHER_INFO
2013-01-22 Name: The remote database server is potentially affected by multiple vulnerabilities.
File: couchdb_1_2_1.nasl - Type: ACT_GATHER_INFO
2011-06-07 Name: The remote Fedora host is missing a security update.
File: fedora_2011-7232.nasl - Type: ACT_GATHER_INFO
2011-03-03 Name: The remote Fedora host is missing a security update.
File: fedora_2011-1513.nasl - Type: ACT_GATHER_INFO
2011-02-09 Name: The remote database server is affected by a cross-site scripting vulnerability.
File: couchdb_1_0_2.nasl - Type: ACT_GATHER_INFO
2010-09-21 Name: The remote Fedora host is missing a security update.
File: fedora_2010-13665.nasl - Type: ACT_GATHER_INFO
2010-09-21 Name: The remote Fedora host is missing a security update.
File: fedora_2010-13640.nasl - Type: ACT_GATHER_INFO
2010-08-20 Name: The remote database server is affected by a cross-site request forgery vulner...
File: couchdb_0_11_2.nasl - Type: ACT_GATHER_INFO
2010-07-01 Name: The remote Fedora host is missing a security update.
File: fedora_2010-8298.nasl - Type: ACT_GATHER_INFO