#VU57237 Security restrictions bypass in CouchDB


Published: 2021-10-14 | Updated: 2021-10-18

Vulnerability identifier: #VU57237

Vulnerability risk: Medium

CVSSv3.1: 4.2 [CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N/E:P/RL:O/RC:C]

CVE-ID: CVE-2021-38295

CWE-ID: CWE-264

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
CouchDB
Server applications / Database software

Vendor: Apache Foundation

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

CouchDB: 3.0.0 - 3.1.1


External links
http://docs.couchdb.org/en/stable/cve/2021-38295.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability