GHSA-V42G-7Q2X-CW32
Zendframework1 potential SQL injection vector using null byte for PDO (MsSql, SQLite)
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-V42G-7Q2X-CW32 divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
The PDO adapters of Zend Framework 1 do not filter null bytes values in SQL statements. A PDO adapter can treat null bytes in a query as a string terminator, allowing an attacker to add arbitrary SQL following a null byte, and thus create a SQL injection.
We tested and verified the null byte injection using pdo_dblib (FreeTDS) on a Linux environment to access a remote Microsoft SQL Server, and also tested against and noted the vector against pdo_sqlite.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistzendframework/zendframework1 |
Corregida | 1.12.16 | — | — |
1.12.16Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://framework.zend.com/security/advisory/ZF2015-08https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/ZF2015-08.yamlhttps://github.com/zendframework/zf1Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
