GHSA-828W-6QGX-3RCF
Filament Curator: Cross-tenant media metadata disclosure via Curator picker search
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-828W-6QGX-3RCF divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
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.)
- Conditions: only affects deployments using Filament multitenancy with Curator's tenant awareness enabled.
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.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistawcodes/filament-curator |
Corregida | 3.7.8, 4.1.1, 5.1.1 | — | — |
3.7.84.1.15.1.1Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/awcodes/filament-curator/security/advisories/GHSA-828w-6qgx-3rcfhttps://github.com/awcodes/filament-curator/commit/17615a20924b7cd373595f6ec56abb79f23cdf7fhttps://github.com/awcodes/filament-curator/commit/c129a3692d7ef1c9923a2be7402704b20ed4f243https://github.com/awcodes/filament-curatorhttps://github.com/awcodes/filament-curator/releases/tag/v3.7.8https://github.com/awcodes/filament-curator/releases/tag/v4.1.1https://github.com/awcodes/filament-curator/releases/tag/v5.1.1Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
