You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
This CVE record is not being prioritized for NVD enrichment efforts due to resource or other concerns.
Description
Due to differences in the Erlang-based JSON parser and JavaScript-based JSON parser, it is possible in Apache CouchDB before 1.7.0 and 2.x before 2.1.1 to submit _users documents with duplicate keys for 'roles' used for access control within the database, including the special case '_admin' role, that denotes administrative users. In combination with CVE-2017-12636 (Remote Code Execution), this can be used to give non-admin users access to arbitrary shell commands on the server as the database system user. The JSON parser differences result in behaviour that if two 'roles' keys are available in the JSON, the second one will be used for authorising the document write, but the first 'roles' key is used for subsequent authorization for the newly created user. By design, users can not assign themselves roles. The vulnerability allows non-admin users to give themselves admin privileges.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected].
CVE Modified by Apache Software Foundation5/14/2024 12:19:09 AM
Action
Type
Old Value
New Value
CVE Modified by Apache Software Foundation11/06/2023 9:38:27 PM
Action
Type
Old Value
New Value
Added
Reference
Apache Software Foundation https://lists.apache.org/thread.html/6c405bf3f8358e6314076be9f48c89a2e0ddf00539906291ebdf0c67%40%3Cdev.couchdb.apache.org%3E [No types assigned]
Removed
Reference
Apache Software Foundation https://lists.apache.org/thread.html/6c405bf3f8358e6314076be9f48c89a2e0ddf00539906291ebdf0c67@%3Cdev.couchdb.apache.org%3E
CWE Remap by NIST10/02/2019 8:03:26 PM
Action
Type
Old Value
New Value
Changed
CWE
CWE-264
CWE-269
CVE Modified by Apache Software Foundation5/13/2019 3:29:00 PM
OR
*cpe:2.3:a:apache:couchdb:*:*:*:*:*:*:*:* versions up to (excluding) 1.7.0
*cpe:2.3:a:apache:couchdb:2.0.0:*:*:*:*:*:*:*
*cpe:2.3:a:apache:couchdb:2.0.0:rc1:*:*:*:*:*:*
*cpe:2.3:a:apache:couchdb:2.0.0:rc2:*:*:*:*:*:*
*cpe:2.3:a:apache:couchdb:2.0.0:rc3:*:*:*:*:*:*
*cpe:2.3:a:apache:couchdb:2.0.0:rc4:*:*:*:*:*:*
Changed
Reference Type
http://www.securityfocus.com/bid/101868 No Types Assigned
http://www.securityfocus.com/bid/101868 Third Party Advisory, VDB Entry
Changed
Reference Type
https://lists.apache.org/thread.html/6c405bf3f8358e6314076be9f48c89a2e0ddf00539906291ebdf0c67@%3Cdev.couchdb.apache.org%3E No Types Assigned