GHSA-GMG2-XRXR-3FC9
Private media exposed through permanent, publicly cached Glide URLs
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-GMG2-XRXR-3FC9 divulgada · CVSS 5.9 (GitHub) | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
For media with private visibility, `url` correctly returns a short-lived temporary URL. But the `thumbnail_url`, `medium_url` and `large_url` appends are signed Glide URLs that:
- never expire;
- go through a route with no middleware, authentication or tenant check;
- for images, are served with `Cache-Control: public, max-age=31536000`.
For media that Glide can't resize, such as PDFs, SVGs, videos and documents, these URLs stream the original file.
The URLs are signed, so they can't be forged or guessed. But they're model appends, so they appear wherever a media record is serialized: JSON responses, Livewire state and table thumbnails. Once one leaks, it gives permanent, unauthenticated access to the file.
*Score:* `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N` (5.9)
Affected versions
Confirmed at runtime on 5.5.0 and 3.7.11. 4.2.1 was checked against the 5.x code paths, which are the same, and the fixes were tested on every line.
All 5.x and 4.x releases are affected.
- Non-resizable media: on every affected release, these size URLs stream the original file from its own disk, private disks included.
- Private images on a disk other than the public one: these are only served from 5.3.7, when Glide began reading from the media's own disk.
3.x is not affected with the default configuration.
Patches
Upgrade to 5.5.3 or 4.2.3.
- Size URLs and the Glider: for media that isn't public, size URLs and the Glider now carry a signed expiry and the media's disk.
- The lifetime is set by the new `curator.temporary_url_expiration` (minutes, default 5).
- Expired or altered URLs are refused.
- Valid ones are served with private cache headers.
- Public media: a URL without an expiry only resolves to public media. Public URLs and caching are unchanged.
- Non-resizable originals: they're no longer streamed through permanent URLs.
- Signature: it's checked against the query string only.
- Cache: on 5.x, Glide's cache is kept per disk.
After upgrading
- Purge caches: clear Glide's cache (`storage/app/.cache` by default) and any CDN in front of your media. Copies of old permanent URLs may otherwise persist.
- If URLs may have leaked: run `php artisan curator:token` to rotate the Glide signing key. This invalidates every URL issued before, public ones included.
- Stored URLs: Glide URLs already stored for private media, for example in rich editor content, stop working.
Workarounds
Avoid serializing private `Media` records to untrusted clients, or hide the `thumbnail_url`, `medium_url` and `large_url` attributes. Rotating the Glide signing key invalidates URLs that have already leaked.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistawcodes/filament-curator |
Corregida | 4.2.3, 5.5.3 | — | — |
4.2.35.5.3Arsenal 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-gmg2-xrxr-3fc9Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
