Lucene search

K
cvelistApacheCVELIST:CVE-2021-38295
HistoryOct 14, 2021 - 7:55 p.m.

CVE-2021-38295 Privilege escalation vulnerability when using HTML attachments

2021-10-1419:55:12
apache
www.cve.org
6
cve-2021-38295
privilege escalation
html attachments
apache couchdb
security vulnerability
javascript code
database manipulation
configuration changes
fauxton interface
deprecated functionality

AI Score

7.5

Confidence

High

EPSS

0

Percentile

5.1%

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

CNA Affected

[
  {
    "product": "Apache CouchDB",
    "vendor": "Apache Software Foundation",
    "versions": [
      {
        "lessThan": "3.1.2",
        "status": "affected",
        "version": "Apache CouchDB",
        "versionType": "custom"
      }
    ]
  },
  {
    "product": "IBM Cloudant",
    "vendor": "Apache Software Foundation",
    "versions": [
      {
        "lessThan": "8201",
        "status": "affected",
        "version": "IBM Cloudant",
        "versionType": "custom"
      }
    ]
  }
]

AI Score

7.5

Confidence

High

EPSS

0

Percentile

5.1%