
Cloud Vulnerability DB
A community-led vulnerabilities database
Apache CouchDB (CVE-2021-38295) is a privilege escalation vulnerability discovered in versions prior to 3.1.2. The vulnerability was disclosed on October 12, 2021, affecting the CouchDB admin interface Fauxton and the deprecated _show and _list functionality (Vendor Advisory, NVD).
The vulnerability allows a malicious user with document creation permissions to attach HTML content to a database document. When a CouchDB admin opens this attachment through the Fauxton interface, any embedded JavaScript code executes within the admin's security context. The vulnerability received a CVSS v3.1 base score of 7.3 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H (NVD).
If successfully exploited, this vulnerability enables attackers to escalate their privileges, allowing them to add or remove data in any database and make configuration changes to the system. The attack requires user interaction, specifically requiring a CouchDB admin to open the malicious attachment (Vendor Advisory).
The vulnerability requires an attacker to have initial access with permissions to create documents in a database. The attack is then dependent on social engineering, as it requires a CouchDB administrator to open the malicious HTML attachment through the browser-based admin interface (OSS Security).
The issue was addressed in CouchDB 3.2.0 and later versions by implementing Content-Security-Policy headers for all attachment, _show, and _list requests. For version 3.1.2, while defaulting to previous behavior, configuration options were added to enable Content-Security-Policy headers for affected requests. For installations that require the previous behavior, configuration options are available to restore it (Vendor Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."