Bug 1218024 (CVE-2023-45725) - VUL-0: CVE-2023-45725: couchdb: possible sensitive information leakage using _design documents
Summary: VUL-0: CVE-2023-45725: couchdb: possible sensitive information leakage using ...
Status: RESOLVED WONTFIX
Alias: CVE-2023-45725
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/387802/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-45725:4.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-13 14:01 UTC by SMASH SMASH
Modified: 2023-12-14 13:33 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2023-12-13 14:01:21 UTC
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


References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-45725
https://lists.apache.org/thread/pqjq9zt8vq9rsobkc1cow9sqm9vozlrg
https://docs.couchdb.org/en/stable/cve/2023-45725.html

Patch:
https://github.com/apache/couchdb/pull/4758/commits/deddbb2db1dcd819f38ea2a96cc0cf547f56a762
https://github.com/apache/couchdb/pull/4878/commits/96ac56ccd9aa8c208ce07f5932a110f5a9613b15
Comment 3 Andrea Mattiazzo 2023-12-14 13:33:34 UTC
 only affects SOC products, and CVSS <7, so WONTFIX