製品・ソフトウェアに関する情報
Apache CouchDB における認可・権限・アクセス制御に関する脆弱性
Title Apache CouchDB における認可・権限・アクセス制御に関する脆弱性
Summary

Apache CouchDB には、認可・権限・アクセス制御に関する脆弱性が存在します。

Possible impacts 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Nov. 15, 2017, midnight
Registration Date Dec. 12, 2017, 10:48 a.m.
Last Update Dec. 12, 2017, 10:48 a.m.
CVSS3.0 : 緊急
Score 9.8
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS2.0 : 危険
Score 10
Vector AV:N/AC:L/Au:N/C:C/I:C/A:C
Affected System
Apache Software Foundation
Apache CouchDB 1.7.0 未満
Apache CouchDB 2.1.1 未満の 2.x
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2017年12月12日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2017-12635
Summary

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.

Publication Date Nov. 15, 2017, 5:29 a.m.
Registration Date Jan. 26, 2021, 1:14 p.m.
Last Update Nov. 21, 2024, 12:09 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:apache:couchdb:*:*:*:*:*:*:*:* 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:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List