CVE-2024-41964: Insufficient permission checks in the language settings in Kirby CMS

Published Aug 29, 2024
·
Updated

TL;DR

This vulnerability affects all Kirby sites with enabled languages option that might have potential attackers in the group of authenticated Panel users.

If you have disabled the languages and/or api option and don't call any methods in your code that cause a write access to languages (language creation, update or deletion), your site is not affected.

----

Introduction

Kirby allows to restrict the permissions of specific user roles. Users of that role can only perform permitted actions.

Permissions for creating and deleting languages have already existed and could be configured, but were not enforced by Kirby's frontend or backend code.

A permission for updating existing languages has not existed before the patched versions. So disabling the languages. wildcard permission for a role could not have prohibited updates to existing language definitions.

Impact

The missing permission checks allowed attackers with Panel access to manipulate the language definitions.

The language definitions are at the core of multi-language content in Kirby. Unauthorized modifications with malicious intent can cause significant damage, for example:

- If the languages option was enabled but no language exists, creating the first language will switch Kirby to multi-language mode. - Deleting an existing language will lead to content loss of all translated content in that language. Deleting the last language will switch Kirby to single-language mode. - Updating a language allows to change the metadata including the language slug (used in page URLs) and language variables. It also allows to change the default language, which will cause Kirby to use the new default language's content as a fallback for non-existing translations.

Depending on the site code, the result of such actions can cause loss of site availability (e.g. error messages in the site frontend) or integrity (due to changed URLs or removed translations).

Patches

The problem has been patched in Kirby 3.6.6.6, Kirby 3.7.5.5, Kirby 3.8.4.4, Kirby 3.9.8.2, Kirby 3.10.1.1, and Kirby 4.3.1. Please update to one of these or a later version to fix the vulnerability.

In all of the mentioned releases, we have added checks for the languages.create and languages.delete permissions that ensure that users without those permissions cannot perform the respective actions. We have also added a new languages.update permission.

Credits

Thanks to Sebastian Eberlein of JUNO (@SebastianEberlein-JUNO) for reporting the identified issue.

Other sources

Kirby is a CMS targeting designers and editors. Kirby allows to restrict the permissions of specific user roles. Users of that role can only perform permitted actions. Permissions for creating and deleting languages have already existed and could be configured, but were not enforced by Kirby's frontend or backend code. A permission for updating existing languages has not existed before the patched versions. So disabling the languages. wildcard permission for a role could not have prohibited updates to existing language definitions. The missing permission checks allowed attackers with Panel access to manipulate the language definitions. The problem has been patched in Kirby 3.6.6.6, Kirby 3.7.5.5, Kirby 3.8.4.4, Kirby 3.9.8.2, Kirby 3.10.1.1, and Kirby 4.3.1. Please update to one of these or a later version to fix the vulnerability. There are no known workarounds for this vulnerability.

MITRE

Affected Software

12 affected componentsFixes available
composer/getkirby/cms>=4.0.0<=4.3.0
4.3.1
composer/getkirby/cms>=3.10.0<=3.10.1
3.10.1.1
composer/getkirby/cms>=3.9.0<=3.9.8.1
3.9.8.2
composer/getkirby/cms>=3.8.0<=3.8.4.3
3.8.4.4
composer/getkirby/cms>=3.7.0<=3.7.5.4
3.7.5.5
composer/getkirby/cms<=3.6.6.5
3.6.6.6
getkirby Kirby<3.6.6.6
getkirby Kirby>=3.7.0<3.7.5.5
getkirby Kirby>=3.8.0<3.8.4.4
getkirby Kirby>=3.9.0<3.9.8.2
getkirby Kirby>=3.10.0<3.10.1.1
getkirby Kirby>=4.0.0<4.3.1

Event History

Aug 29, 2024
CVE Published
via MITRE·04:19 PM
Data Sourced
via MITRE·04:19 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·05:55 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-41964?

CVE-2024-41964 has a medium severity level as it affects authenticated Panel users in all Kirby sites with the languages option enabled.

2

How do I fix CVE-2024-41964?

To fix CVE-2024-41964, you should update your Kirby CMS to version 4.3.1 or the applicable remedied version for your currently installed version.

3

Which versions of Kirby are affected by CVE-2024-41964?

CVE-2024-41964 affects all versions of Kirby from 3.6.6.5 up to 4.3.0.

4

Who is impacted by CVE-2024-41964?

Users with authenticated Panel access in sites with the languages option enabled are impacted by CVE-2024-41964.

5

Is there a workaround for CVE-2024-41964?

A temporary workaround for CVE-2024-41964 is to disable the languages option in the Kirby settings until the site can be updated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203