Mongoidに認可不備の脆弱性、記録の閲覧・変更・削除のおそれ
Summary
Mongoidのクエリ構築処理の不具合により、モデルに設定された「レコードを返さない」という既定の制限が無視されることがあります。一般的な権限を持つ利用者が通常のリクエストを送るだけで、本来見せないはずのレコードを閲覧・変更・削除できるおそれがあります。影響するのはMongoDB Ruby Driverの4.0.0以降9.1.3未満で、9.1.3に修正版が公開されています。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Mongoidのクエリ構築処理の不具合により、モデルに設定された「レコードを返さない」という既定の制限が無視されることがあります。一般的な権限を持つ利用者が通常のリクエストを送るだけで、本来見せないはずのレコードを閲覧・変更・削除できるおそれがあります。影響するのはMongoDB Ruby Driverの4.0.0以降9.1.3未満で、9.1.3に修正版が公開されています。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MongoDBRuby Driver |
≥ 4.0.0, < 9.1.3→ 9.1.3 |
9.1.3 |
Original description The description as published by the source.
A logic flaw in the query-building layer of the Mongoid object-document mapper causes a model-level default restriction that is meant to return no records to be silently discarded when it is combined into a query. A user with basic application privileges who sends an ordinary request may read, change, or remove records that the restriction was intended to withhold.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web cna@mongodb.com
- web nvd.nist.gov
- web github.com