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.

  • CVSS V3 rated as Medium - 5.7 severity.
  • CVSS V2 rated as Low - 1.9 severity.
  • Solution
    The vendor has already released the patch to fix the vulnerability. Customers are advised to upgrade to Apache CouchDB.Workaround:
    Avoid using design documents from untrusted sources which may attempt to access or manipulate request object's headers
    Vendor References

    CVEs related to QID 731122

    Software Advisories
    Advisory ID Software Component Link
    Apache CouchDB URL Logo couchdb.apache.org/

    © CVE.report 2026

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report