llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · laravel/framework

GHSA-44PG-C29V-HP6R

Laravel Guard bypass in Eloquent models

Parche disponible
Descargar PNG JSON
CVSS
—
medium
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versiones6.18.34 · 7.23.2
Exposición919 dDesde la divulgación, 15 may 2024, 5:18 p. m.
Detección915 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Estimación de Llama con el árbol SSVC de CISA a partir de la severidad declarada por GHSA (media) y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Ni el CISO se despertaría por esta.Traje la llave inglesa: esto se arregla.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Monitoreo
Detectada
15 may 24
29 nov 24
17 nov 26
21 nov 26
15 may 24
31 dic 24
18 ago 25
5 abr 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-44PG-C29V-HP6R divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

In laravel releases before 6.18.34 and 7.23.2. It was possible to mass assign Eloquent attributes that included the model's table name:

$model->fill(['users.name' => 'Taylor']);

When doing so, Eloquent would remove the table name from the attribute for you. This was a "convenience" feature of Eloquent and was not documented.

However, when paired with validation, this can lead to unexpected and unvalidated values being saved to the database. For this reason, we have removed the automatic stripping of table names from mass-asignment operations so that the attributes go through the typical "fillable" / "guarded" logic. Any attributes containing table names that are not explicitly declared as fillable will be discarded.

This security release will be a breaking change for applications that were relying on the undocumented table name stripping during mass assignment. Since this feature was relatively unknown and undocumented, we expect the vast majority of Laravel applications to be able to upgrade without issues.

Versiones

Rangos afectados

Afectada Corregida
laravel/framework≥ 5.5.0 ≤ 5.5.49
laravel/framework≥ 6.0.0 < 6.18.34
laravel/framework≥ 7.0.0 < 7.23.2
5.5.0
5.5.49
6.0.0
6.18.34
7.0.0
7.23.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistlaravel/framework
Corregida 6.18.34, 7.23.2 — —
Versiones corregidas6.18.347.23.2
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Otrahttps://blog.laravel.com/security-release-laravel-61834-7232
Otrahttps://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/2020-08-06-1.yaml
Otrahttps://github.com/laravel/framework

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.