| 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. |
| CVSS3.0 : CRITICAL | |
| スコア | 9.8 |
|---|---|
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃に必要な特権レベル(PR) | 不要 |
| 利用者の関与(UI) | 不要 |
| 影響の想定範囲(S) | 変更なし |
| 機密性への影響(C) | 高 |
| 完全性への影響(I) | 高 |
| 可用性への影響(A) | 高 |
| CVSS2.0 : HIGH | |
| Score | 10.0 |
|---|---|
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃前の認証要否(Au) | 不要 |
| 機密性への影響(C) | 高 |
| 完全性への影響(I) | 高 |
| 可用性への影響(A) | 高 |
| Get all privileges. | いいえ |
| Get user privileges | いいえ |
| Get other privileges | いいえ |
| User operation required | いいえ |
| 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:*:*:*:*:*:* | |||||
| 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. |
| Apache Software Foundation |
| Apache CouchDB 1.7.0 未満 |
| Apache CouchDB 2.1.1 未満の 2.x |
| No | Changed Details | Date of change |
|---|---|---|
| 0 | [2017年12月12日] 掲載 |
Feb. 17, 2018, 10:37 a.m. |