{"id":"BIT-couchdb-2023-45725","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.\n\nThese design document functions are:\n  *    list\n  *    show\n  *    rewrite\n  *    update\n\nAn 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.\n\nFor 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.\n\nWorkaround: Avoid using design documents from untrusted sources which may attempt to access or manipulate request object's headers","aliases":["CVE-2023-45725"],"modified":"2026-09-08T08:46:04.225182249Z","published":"2024-03-06T10:51:03.389Z","database_specific":{"severity":"Medium","cpes":["cpe:2.3:a:apache:couchdb:*:*:*:*:*:*:*:*"]},"references":[{"type":"ADVISORY","url":"https://docs.couchdb.org/en/stable/cve/2023-45725.html"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/pqjq9zt8vq9rsobkc1cow9sqm9vozlrg"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45725"}],"affected":[{"package":{"name":"couchdb","ecosystem":"Bitnami","purl":"pkg:bitnami/couchdb"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.3.3"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/couchdb/BIT-couchdb-2023-45725.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"}]}],"schema_version":"1.9.0"}