CVE-2023-45725

Apache CouchDB, IBM Cloudant: Privilege Escalation Using _design Documents

State
Published
Severity
Not scored
Published
Dec 13, 2023
Updated
Aug 2, 2024
Reserved
Oct 10, 2023

Read the record on cve.org

Description

Design document functions which receive a user http request object may expose authorization or session cookie headers of the user who accesses the document.

These design document functions are: *   list *   show *   rewrite *   update

An attacker can leak the session component using an HTML-like output, insert the session as an external resource (such as an image), or store the credential in a _local document with an "update" function.

For the attack to succeed the attacker has to be able to insert the design documents into the database, then manipulate a user to access a function from that design document.

Workaround: Avoid using design documents from untrusted sources which may attempt to access or manipulate request object's headers

Scores

The record has no CVSS score.

Weaknesses

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

Affected Products

ProductVersions
Apache CouchDBApache Software Foundation
  • 3.3.2 and earlierAffected
IBM CloudantApache Software Foundation
  • before 8413Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.