Upstream information
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.SUSE information
Overall state of this security issue: Resolved
This issue is currently rated as having important severity.
National Vulnerability Database | SUSE | |
---|---|---|
Base Score | 10 | 6.8 |
Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C | AV:N/AC:L/Au:S/C:N/I:C/A:N |
Access Vector | Network | Network |
Access Complexity | Low | Low |
Authentication | None | Single |
Confidentiality Impact | Complete | None |
Integrity Impact | Complete | Complete |
Availability Impact | Complete | None |
National Vulnerability Database | SUSE | |
---|---|---|
Base Score | 9.8 | 8.1 |
Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Attack Vector | Network | Network |
Attack Complexity | Low | Low |
Privileges Required | None | Low |
User Interaction | None | None |
Scope | Unchanged | Unchanged |
Confidentiality Impact | High | High |
Integrity Impact | High | High |
Availability Impact | High | None |
CVSSv3 Version | 3 | 3 |
Status of this issue by product and package
Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.
Product(s) | Source package | State |
---|---|---|
Products past their end of life and not receiving proactive updates anymore. | ||
SUSE Enterprise Storage 2.1 | couchdb | Unsupported |
SUSE Enterprise Storage 3 | couchdb | Ignore |
SUSE Enterprise Storage 4 | couchdb | Released |
SUSE OpenStack Cloud 6 | couchdb | Ignore |
SUSE OpenStack Cloud 6-LTSS | couchdb | Unsupported |
SUSE OpenStack Cloud 7 | couchdb | Released |
SUSE Timeline for this CVE
CVE page created: Tue Nov 14 21:23:05 2017CVE page last modified: Fri Oct 13 19:58:46 2023