Kirby Panel users could upload PHP Phar archives as content files before v2.5.14 and v3.4.5
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 and Kirby 3.4.5. Please update to one of these or a later version 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.
Credits
Thanks to Thore Imhof of Accenture for reporting the problem.
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Paczka Composer | getkirby/cms | >= 3.0.0, < 3.4.5 | 3.4.5 |
| Paczka Composer | getkirby/panel | < 2.5.14 | 2.5.14 |
Odnośniki
- https://github.com/getkirby/kirby/security/advisories/GHSA-g3h8-cg9x-47qw
- https://nvd.nist.gov/vuln/detail/CVE-2020-26255
- https://github.com/getkirby-v2/panel/commit/5a569d4e3ddaea2b6628d7ec1472a3e8bc410881
- https://github.com/getkirby/kirby/commit/db8f371b13036861c9cc5ba3e85e27f73fce5e09
- https://github.com/getkirby/kirby
- https://github.com/getkirby/kirby/releases/tag/3.4.5
- https://packagist.org/packages/getkirby/cms
- https://packagist.org/packages/getkirby/panel
- Wektor CVSS
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N- Słabość (CWE)
CWE-434- Platforma
- Composer
- Paczka
getkirby/cms, getkirby/panel- Ujawniono
- 08.12.2020
- Aktualizacja
- 11.10.2026 10:22
Źródła i licencje
OSV / GitHub Advisory Database - GHSA-g3h8-cg9x-47qw - CC BY 4.0
Historia podatności: getkirby/cms
Wszystkie opisane podatności tej paczki (Paczka Composer), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 51
- Pierwsza → ostatnia
- 12.2020 09.2026
- Bez poprawki
- 2
- Wykorzystywana w atakach
- 0
Rozkład istotności
- Krytyczna 1
- Wysoka 19
- Średnia 30
- Niska 1
Ujawnienia w latach
- 2020: 1
- 2021: 5
- 2022: 7
- 2023: 5
- 2024: 4
- 2025: 3
- 2026: 26
-
Kirby Panel users could upload PHP Phar archives as content files before v2.5.14 and v3.4.5 ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.