Filament Curator: Cross-tenant media metadata disclosure via Curator picker search
No exploitation in the wild has been reported. Fixed in awcodes/filament-curator 3.7.8, awcodes/filament-curator 4.1.1 and awcodes/filament-curator 5.1.1.
Summary In multitenant Filament panels, an authenticated user could retrieve media metadata belonging to other tenants by typing in the Curator media-picker search box. The search query omitted the tenant ownership scope that the normal file listing applies. Details CuratorPanel::updatedSearch() built its Eloquent query independently of getFiles() and did not apply the filament()->hasTenancy() && $isTenantAware tenant-ownership where clause. As a result, the search matched media across all tenants. A secondary flaw compounded it: the orWhere('title'…) chain was not wrapped in a nested group, so the OR conditions also broke out of the isLimitedToDirectory constraint. The issue was introduced in v3.2.4, when multitenancy support was added to the media picker. Impact - Who: any authenticated user with access to a panel that uses the Curator picker. - What: disclosure of other tenants' media metadata (name, title, alt, caption, description, path, etc.) returned by the search. - Conditions: only affects deployments using Filament multitenancy with Curator's tenant awareness enabled. Single-tenant installs are not affected. Patches Fixed in 3.7.8, 4.1.1, and 5.1.1 by applying the tenant scope to the search query and grouping the search terms so they cannot escape the directory/tenant constraints. Upgrade to a patched version. Workarounds None other than upgrading. Disabling tenant awareness does not help (it removes the boundary entirely). Credit Reported via coordinated disclosure by [Afsana Alijabarova](https://github.com/afa114).
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| packagist: awcodes/filament-curator | >=3.2.4 <3.7.8, >=4.0.0 <4.1.1, >=5.0.0 <5.1.1 | 3.7.8, 4.1.1, 5.1.1 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in awcodes/filament-curator (Packagist), strongest first
Embed
A live severity badge for an advisory, README or ticket