{"id":"CVE-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\n","aliases":["BIT-couchdb-2023-45725"],"modified":"2026-08-12T03:51:30.727560836Z","published":"2023-12-13T08:02:17.326Z","database_specific":{"cna_assigner":"apache","cwe_ids":["CWE-200"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/45xxx/CVE-2023-45725.json","unresolved_ranges":[{"extracted_events":[{"last_affected":"3.3.2"},{"fixed":"8413"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"ADVISORY","url":"https://docs.couchdb.org/en/stable/cve/2023-45725.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/45xxx/CVE-2023-45725.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread/pqjq9zt8vq9rsobkc1cow9sqm9vozlrg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45725"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/couchdb","events":[{"introduced":"0"},{"last_affected":"11a2340709af2e3ebcb052337c9acb88f7fac3cb"}],"database_specific":{"cpe":"cpe:2.3:a:apache:couchdb:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"3.3.2"}],"source":"CPE_RANGE"}}],"versions":["3.3.2-RC1","3.3.2","3.3.1.post1","3.3.1","3.3.0","3.2.1-RC1","3.2.1","3.2.0-RC2","3.2.0","3.2.0-RC1","3.1.1-RC2","3.1.1","3.1.1-RC1","3.1.0-RC2","3.1.0","3.1.0-RC1","3.0.0-RC1","2.3.1-last","2.3.0-RC1","2.3.0","2.2.0-RC1","2.1.0-RC1","2.1.0","2.0.0-RC4","2.0.0-RC3","2.0.0-RC1","fauxton"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-45725.json"}}],"schema_version":"1.9.0"}