6
CVSSv2

CVE-2021-38295

Published: 14/10/2021 Updated: 08/08/2023
CVSS v2 Base Score: 6 | Impact Score: 6.4 | Exploitability Score: 6.8
CVSS v3 Base Score: 7.3 | Impact Score: 5.9 | Exploitability Score: 1.3
VMScore: 534
Vector: AV:N/AC:M/Au:S/C:P/I:P/A:P

Vulnerability Summary

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 malicious user to add or remove data in any database or make configuration changes. This issue affected Apache CouchDB before 3.1.2

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

apache couchdb

Vendor Advisories

A security issue has been found in Apache CouchDB before version 312 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, eg via the CouchDB admin interface Fauxton, any JavaScript code embedded in that HTML attachment will b ...

Mailing Lists

<!--X-Body-Begin--> <!--X-User-Header--> oss-sec mailing list archives <!--X-User-Header-End--> <!--X-TopPNI--> By Date By Thread </form> <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> CVE-2021-38295 Apache CouchDB &lt;= 311 privilege escalation <!--X-Subject-Header-End--> <!--X-Head-of-Message--> From: Ja ...

Github Repositories

A simple Python proof of concept for CVE-2021-38295.

CVE-2021-38295-PoC A simple Python proof of concept for CVE-2021-38295 Related Blog Post [LINK TO BLOG] Usage: Usage: cve-xxxx &lt;host&gt; &lt;db&gt; &lt;user:pass&gt; Simply supply the script with a host, a database which your creds have access too, and the username password pair If everything works, you'l