{"id":"CVE-2023-45725","state":"PUBLISHED","title":"Apache CouchDB, IBM Cloudant: Privilege Escalation Using _design Documents","description":"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","publishedAt":"2023-12-13T08:02:17.326Z","updatedAt":"2024-08-02T20:29:31.714Z","severity":null,"assigner":"apache","products":["Apache Software Foundation Apache CouchDB","Apache Software Foundation IBM Cloudant"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache CouchDB","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.3.2","versionType":"semver"}]},{"vendor":"Apache Software Foundation","product":"IBM Cloudant","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"8413","versionType":"semver"}]}],"references":["https://lists.apache.org/thread/pqjq9zt8vq9rsobkc1cow9sqm9vozlrg","https://docs.couchdb.org/en/stable/cve/2023-45725.html"],"weaknesses":["CWE-200"],"ingestedAt":"2026-10-29T20:06:24.729Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/45xxx/CVE-2023-45725.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-45725","state":"PUBLISHED","datePublished":"2023-12-13T08:02:17.326Z","dateUpdated":"2024-08-02T20:29:31.714Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2023-10-10T21:35:31.623Z"},"containers":{"cna":{"title":"Apache CouchDB, IBM Cloudant: Privilege Escalation Using _design Documents","descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache CouchDB","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.3.2","versionType":"semver"}]},{"vendor":"Apache Software Foundation","product":"IBM Cloudant","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"8413","versionType":"semver"}]}],"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"]}],"metrics":[{"other":{"content":{"text":"moderate"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-200","description":"CWE-200 Exposure of Sensitive Information to an Unauthorized Actor","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2023-12-13T08:02:17.326Z"},"credits":[{"lang":"en","type":"finder","value":"Natan Nehorai from the JFrog Vulnerability Research Team"},{"lang":"en","type":"reporter","value":"Or Peles from the JFrog Vulnerability Research Team"},{"lang":"en","type":"finder","value":"Richard Ellis from IBM/Cloudant Team"},{"lang":"en","type":"finder","value":"Mike Rhodes from IBM/Cloudant Team"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.apache.org/thread/pqjq9zt8vq9rsobkc1cow9sqm9vozlrg","tags":["vendor-advisory","x_transferred"]},{"url":"https://docs.couchdb.org/en/stable/cve/2023-45725.html","tags":["release-notes","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T20:29:31.714Z"}}]}}}