QID 731122
Date Published: 2024-02-08
QID 731122: Apache CouchDB Privilege Escalation Vulnerability
Apache CouchDB is a free open source document-oriented database written in the Erlang programming language.
Design document functions which receive a user http request object may expose authorization or session cookie headers of the user who accesses the document. 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.
Affected Versions:
Apache CouchDB versions prior to version 3.3.3
QID Detection Logic(Remote)
It checks for vulnerable version of Apache CouchDB by sending a GET request to the target and matches the vulnerable version.
Note: Avoid using design documents from untrusted sources which may attempt to access or manipulate request object's headers.
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.
Avoid using design documents from untrusted sources which may attempt to access or manipulate request object's headers
- Apache CouchDB Privilege Escalation -
lists.apache.org/thread/pqjq9zt8vq9rsobkc1cow9sqm9vozlrg
CVEs related to QID 731122
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| Apache CouchDB |
|