Advisory

GHSA-g3h8-cg9x-47qw

Also known as: CVE-2020-26255

Summary

Kirby Panel users could upload PHP Phar archives as content files before v2.5.14 and v3.4.5

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2020-12-08 14:42 UTC
Modified
2026-09-10 03:48 UTC

Affected packages and fixes

getkirby/panel

Packagist · All systems

Affected

  • introduced 0, fixed 2.5.14 (ecosystem)

Fixed versions

2.5.14

Fix

The export has no generic command for this ecosystem.

getkirby/cms

Packagist · All systems

Affected

  • introduced 3.0.0, fixed 3.4.5 (ecosystem)

Fixed versions

3.4.5

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences