CVE-2023-45725: Apache CouchDB, IBM Cloudant: Privilege Escalation Using _design Documents

Published Dec 12, 2023
·
Updated

Apache CouchDB could allow a local attacker to gain elevated privileges on the system, caused by a flaw when using design document functions. By sending a specially crafted HTTP request, an attacker could exploit this vulnerability to gain elevated privileges to insert the design documents into the database, then manipulate a user to access a function from that design document.

Other sources

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

Affected Software

3 affected components
Apache CouchDB<=3.3.2
IBM Planning Analytics Local - IBM Planning Analytics Workspace<=2.1
IBM Planning Analytics Local - IBM Planning Analytics Workspace<=2.0

Event History

Dec 13, 2023
CVE Published
08:02 AM
Data Sourced
08:02 AM
DescriptionWeakness

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-45725?

CVE-2023-45725 is considered a critical vulnerability due to the potential for local attackers to gain elevated privileges.

2

How do I fix CVE-2023-45725?

To fix CVE-2023-45725, users should upgrade Apache CouchDB to version 3.3.3 or later.

3

Who is affected by CVE-2023-45725?

CVE-2023-45725 affects Apache CouchDB versions up to and including 3.3.2 and IBM Planning Analytics Local versions 2.1 and 2.0.

4

Can CVE-2023-45725 be exploited remotely?

No, CVE-2023-45725 requires local access to the system to exploit the vulnerability.

5

What impact does CVE-2023-45725 have on affected systems?

CVE-2023-45725 allows an attacker to gain elevated privileges, which could lead to unauthorized access to sensitive data or system controls.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203