GHSA-G3H8-CG9X-47QW
Kirby Panel users could upload PHP Phar archives as content files before v2.5.14 and v3.4.5
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-G3H8-CG9X-47QW divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
Impact
An editor with full access to the Kirby Panel can upload a PHP `.phar` file and execute it on the server. This vulnerability is critical if you might have potential attackers in your group of authenticated Panel users, as they can gain access to the server with such a Phar file.
Visitors without Panel access *cannot* use this attack vector.
Patches
The problem has been patched in Kirby 2.5.14 https://github.com/getkirby-v2/panel/releases/tag/2.5.14 and Kirby 3.4.5 https://github.com/getkirby/kirby/releases/tag/3.4.5. Please update to one of these or a later version https://github.com/getkirby/kirby/releases/ to fix the vulnerability.
Note: Kirby 2 reaches end of life on December 31, 2020. We therefore recommend to upgrade your Kirby 2 sites to Kirby 3. If you cannot upgrade, we still recommend to update to Kirby 2.5.14.
Workarounds
Kirby 2 sites on older releases can also be patched by applying the changes from this commit https://github.com/getkirby-v2/panel/commit/5a569d4e3ddaea2b6628d7ec1472a3e8bc410881.
Credits
Thanks to Thore Imhof of Accenture for reporting the problem.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistgetkirby/panel |
Corregida | 2.5.14 | — | — |
Packagistgetkirby/cms |
Corregida | 3.4.5 | — | — |
2.5.143.4.5Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://nvd.nist.gov/vuln/detail/CVE-2020-26255https://github.com/getkirby/kirby/security/advisories/GHSA-g3h8-cg9x-47qwhttps://github.com/getkirby-v2/panel/commit/5a569d4e3ddaea2b6628d7ec1472a3e8bc410881https://github.com/getkirby/kirby/commit/db8f371b13036861c9cc5ba3e85e27f73fce5e09https://github.com/getkirby/kirbyhttps://github.com/getkirby/kirby/releases/tag/3.4.5https://packagist.org/packages/getkirby/cmshttps://packagist.org/packages/getkirby/panelLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
