BIT-couchdb-2023-45725

    Dashboard / Vulnerabilities / BIT-couchdb-2023-45725

    BIT-couchdb-2023-45725

    Published: 6 Mar 2024Last Modified: 8 Sept 2026

    Summary: Apache CouchDB, IBM Cloudant: Privilege Escalation Using _design Documents

    Details: 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

    Affected packages

    Package

    Name: couchdb

    Purl: pkg:bitnami/couchdb

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -3.3.3

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    BIT-couchdb-2023-45725 | CVE-DB