GHSA-4MG9-VHXQ-VM7J
SQL Server LIMIT / OFFSET SQL Injection in laravel/framework and illuminate/database
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-4MG9-VHXQ-VM7J divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
Impact
Those using SQL Server with Laravel and allowing user input to be passed directly to the `limit` and `offset` functions are vulnerable to SQL injection. Other database drivers such as MySQL and Postgres are not affected by this vulnerability.
Patches
This problem has been patched on Laravel versions 6.20.26, 7.30.5, and 8.40.0.
Workarounds
You may workaround this vulnerability by ensuring that only integers are passed to the `limit` and `offset` functions, as well as the `skip` and `take` functions.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistlaravel/framework |
Corregida | 6.20.26, 8.40.0 | — | — |
Packagistilluminate/database |
Corregida | 6.20.26, 8.40.0 | — | — |
6.20.268.40.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-4mg9-vhxq-vm7jhttps://github.com/laravel/frameworkhttps://packagist.org/packages/illuminate/databasehttps://packagist.org/packages/laravel/frameworkLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
