
CVE-2023-45725 – Apache CouchDB, IBM Cloudant: Privilege Escalation Using _design Documents
https://notcve.org/view.php?id=CVE-2023-45725
13 Dec 2023 — 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 docum... • https://docs.couchdb.org/en/stable/cve/2023-45725.html • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor •

CVE-2023-26268 – Apache CouchDB, IBM Cloudant: Information sharing via couchjs processes
https://notcve.org/view.php?id=CVE-2023-26268
02 May 2023 — 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 untr... • https://docs.couchdb.org/en/stable/cve/2023-26268.html • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor •

CVE-2022-24706 – Apache CouchDB Insecure Default Initialization of Resource Vulnerability
https://notcve.org/view.php?id=CVE-2022-24706
26 Apr 2022 — 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. En Apache CouchDB versiones anteriores a 3.2.2, un atacante puede acceder a una instalación por defecto asegurada inapropiadamente sin autenticarse y alcanzar privilegios de administrado... • https://packetstorm.news/files/id/167032 • CWE-1188: Initialization of a Resource with an Insecure Default •

CVE-2021-38295 – Privilege escalation vulnerability when using HTML attachments
https://notcve.org/view.php?id=CVE-2021-38295
14 Oct 2021 — 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 remo... • https://github.com/ProfessionallyEvil/CVE-2021-38295-PoC • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') •

CVE-2020-1955
https://notcve.org/view.php?id=CVE-2020-1955
20 May 2020 — CouchDB version 3.0.0 shipped with a new configuration setting that governs access control to the entire database server called `require_valid_user_except_for_up`. It was meant as an extension to the long standing setting `require_valid_user`, which in turn requires that any and all requests to CouchDB will have to be made with valid credentials, effectively forbidding any anonymous requests. The new `require_valid_user_except_for_up` is an off-by-default setting that was meant to allow requiring valid cred... • https://docs.couchdb.org/en/master/cve/2020-1955.html • CWE-306: Missing Authentication for Critical Function •

CVE-2018-17188
https://notcve.org/view.php?id=CVE-2018-17188
02 Jan 2019 — 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... • https://blog.couchdb.org/2018/12/17/cve-2018-17188 •

CVE-2018-14889
https://notcve.org/view.php?id=CVE-2018-14889
21 Sep 2018 — CouchDB in Vectra Networks Cognito Brain and Sensor before 4.3 contains a local code execution vulnerability. CouchDB en Cognito Brain y Cognito Sensor de Vectra Networks en versiones anteriores a la 4.3 contiene una vulnerabilidad de ejecución de código local. • https://vectra.ai/security-advisories • CWE-20: Improper Input Validation •

CVE-2018-11769 – Gentoo Linux Security Advisory 201812-06
https://notcve.org/view.php?id=CVE-2018-11769
08 Aug 2018 — 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 ar... • http://www.securityfocus.com/bid/105046 •

CVE-2018-8007 – Gentoo Linux Security Advisory 201812-06
https://notcve.org/view.php?id=CVE-2018-8007
11 Jul 2018 — 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... • http://mail-archives.apache.org/mod_mbox/couchdb-announce/201807.mbox/%3C1699016538.6219.1531246785603.JavaMail.Joan%40RITA%3E • CWE-20: Improper Input Validation •

CVE-2017-12636 – Apache CouchDB - Arbitrary Command Execution
https://notcve.org/view.php?id=CVE-2017-12636
14 Nov 2017 — 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. Los usuarios administrativos de CouchDB pueden configurar el servidor de la base de datos mediante HTTP(... • https://packetstorm.news/files/id/148535 • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') •