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
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
| Product | Versions |
|---|---|
Apache CouchDBApache Software Foundation |
|
IBM CloudantApache Software Foundation |
|
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.