CVE-2020-26255
PHP Phar archives could be uploaded and executed in Kirby
Check your servers for CVE-2020-26255
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2020-26255 affects kirby, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Kirby is a CMS. In Kirby CMS (getkirby/cms) before version 3.4.5, and Kirby Panel before version 2.5.14 , 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. 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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- high: the attacker needs an administrative account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality none, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.49%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 74.8% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-434 Unrestricted Upload of File with Dangerous Type
Affected products
As the CNA lists them.
Is my server affected?
Find the installed version of kirby and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i kirby
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2020-26255 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2020-26255RHEL, Rocky, Alma, Fedora
rpm -q kirby
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2020-26255Alpine
apk list --installed | grep -i kirbyWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2020-26255
trivy image --scanners vuln IMAGE | grep CVE-2020-26255
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
Other references
- https://packagist.org/packages/getkirby/cms packagist.org
- https://packagist.org/packages/getkirby/panel packagist.org
- https://github.com/getkirby/kirby/releases/tag/3.4.5 github.com
- https://github.com/getkirby/kirby/commit/db8f371b13036861c9cc5ba3e85e27f73fce5e09 github.com
- https://github.com/getkirby-v2/panel/commit/5a569d4e3ddaea2b6628d7ec1472a3e8bc410881 github.com
Source: the record CVE-2020-26255 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse