Apache CouchDB, IBM Cloudant: Privilege Escalation Using _design Documents
Apache Software Foundation Apache CouchDB · Apache Software Foundation IBM Cloudant
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software Foundation Apache CouchDB |
| No fix yet |
| Apache Software Foundation IBM Cloudant |
| No fix yet |
Original 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.
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.