{"id":"CVE-2023-45725","published":"2023-12-13T08:02:17Z","modified":"2024-08-02T20:29:31Z","title":"Apache CouchDB, IBM Cloudant: Privilege Escalation Using _design Documents","vendor":"Apache","product":"Apache CouchDB","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01089,"percentile":0.64929,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://lists.apache.org/thread/pqjq9zt8vq9rsobkc1cow9sqm9vozlrg","tags":["vendor-advisory"]},{"url":"https://docs.couchdb.org/en/stable/cve/2023-45725.html","tags":["release-notes"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":12.99}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache CouchDB","versions":["<= 3.3.2"]},{"vendor":"Apache Software Foundation","product":"IBM Cloudant","versions":["< 8413"]}],"euvd":{"id":"EUVD-2023-50014","exploited":false,"provenance":"source"}}