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: 4.8 [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]
CVE-ID: CVE-2021-38295
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

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.


Affected software

CouchDB
Planning Analytics Local

How to mitigate CVE-2021-38295

Install updates from vendor's website.

CouchDB - update to 3.1.2
Planning Analytics Local - addressed in versions 2.0.0.96, 2.1.3

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins