Security restrictions bypass in CouchDB - CVE-2021-38295

 

Security restrictions bypass in CouchDB - CVE-2021-38295

Published: October 12, 2021 / Updated: October 18, 2021


Vulnerability identifier: #VU57237
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2021-38295
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Apache Foundation
Affected software:
CouchDB

Detailed vulnerability description

The vulnerability allows a remote user to escalate privileges within the application.

The vulnerability exists due to application does not properly impose security restrictions and allows a remote authenticated users with permission to create documents in a database to attach a HTML attachment to a document. If a CouchDB administrator opens such attachment the HTML code will be executed in the administrator's browser.


How to mitigate CVE-2021-38295

Install updates from vendor's website.

Sources