Laravel MongoDBの脆弱性により認可を回避され記録を閲覧・変更される恐れ
Summary
Laravel MongoDBのwhereDoesntHaveにおけるmorph-map処理の不整合により、アクセス制限が効かなくなる脆弱性です。一般の利用者権限しかないユーザーが、本来制限されるべき記録を閲覧・変更・削除できるおそれがあります。影響するのは4.1.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のwhereDoesntHaveにおけるmorph-map処理の不整合により、アクセス制限が効かなくなる脆弱性です。一般の利用者権限しかないユーザーが、本来制限されるべき記録を閲覧・変更・削除できるおそれがあります。影響するのは4.1.0以上5.12.2未満で、5.12.2への更新で修正できます。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MongoDBPHP Driver |
≥ 4.1.0, < 5.12.2→ 5.12.2 |
5.12.2 |
Original description The description as published by the source.
A polymorphic relationship query helper in the MongoDB Eloquent integration for Laravel resolves a record's type identifier inconsistently between the code that stores a relationship link and the code that searches for one. An application that relies on a relationship-absence query to restrict which records a request may see or change can therefore have that restriction silently fail, allowing a user with basic application privileges to read and to modify or remove records the restriction was meant to cover.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- web cna@mongodb.com