Laravel MongoDBで認可の脆弱性、権限のない利用者にレコードの読み書きを許すおそれ
Summary
Laravel MongoDBには、読み取り・更新・削除の前に登録済みのクエリ変更のコールバックが実行されず、レコードを絞り込む条件が黙って外れる脆弱性があります。影響を受けるのは4.8.0以上5.12.2未満で、修正版は5.12.2です。一般の利用者でも、本来は触れないはずのレコードを読み書きできるおそれがあるため、早めの更新をおすすめします。
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.
Laravel MongoDBには、読み取り・更新・削除の前に登録済みのクエリ変更のコールバックが実行されず、レコードを絞り込む条件が黙って外れる脆弱性があります。影響を受けるのは4.8.0以上5.12.2未満で、修正版は5.12.2です。一般の利用者でも、本来は触れないはずのレコードを読み書きできるおそれがあるため、早めの更新をおすすめします。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MongoDBPHP Driver |
≥ 4.8.0, < 5.12.2→ 5.12.2 |
5.12.2 |
Original description The description as published by the source.
A query builder component in a MongoDB integration library for a PHP web framework does not run the query-modification callbacks that an application registers with the framework before sending read, update, and delete operations to the database. As a result, a filter that an application relies on to limit which records a request may touch can be omitted silently. A user with basic application privileges may be able to read or change records that the application intended to keep out of reach.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- web cna@mongodb.com