GHSA-WW2C-PQP9-RVRQ
Cross-Origin Auth Token Leakage Through Broadcasting JSONP Callback
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-WW2C-PQP9-RVRQ divulgada · CVSS 3.1 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
The Pusher and Reverb broadcasters answered the `/broadcasting/auth` endpoint with a JSONP response when a `callback` parameter was present. The endpoint also accepts GET requests without CSRF protection. A malicious page could therefore load the endpoint as a script and read the channel auth token of a logged-in user.
With that token, an attacker could subscribe to the user's private and presence channels and receive their events. With the default `SameSite=Lax` session cookie, the attacker's page has to be on a subdomain of the same site. Applications using `SameSite=None` could be attacked from any domain.
Patch
- Fixed in #58971
https://github.com/laravel/framework/pull/58971. JSONP responses are now off by default and must be enabled with the `jsonp` broadcasting config option.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistlaravel/framework |
Corregida | 12.53.0 | — | — |
12.53.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/laravel/framework/security/advisories/GHSA-ww2c-pqp9-rvrqLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
