Loading...
Skip to main content

CVE-2024-41964 — Kirby has insufficient permission checks in...

HIGH

Kirby has insufficient permission checks in the language settings

Published August 29, 2024Updated August 29, 2024Source: osv

Summary

### 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](https://github.com/getkirby/kirby/releases/tag/3.6.6.6), [Kirby 3.7.5.5](https://github.com/getkirby/kirby/releases/tag/3.7.5.5), [Kirby 3.8.4.4](https://github.com/getkirby/kirby/releases/tag/3.8.4.4), [Kirby 3.9.8.2](https://github.com/getkirby/kirby/releases/tag/3.9.8.2), [Kirby 3.10.1.1](https://github.com/getkirby/kirby/releases/tag/3.10.1.1), and [Kirby 4.3.1](https://github.com/getkirby/kirby/releases/tag/4.3.1). Please update to one of these or a [later version](https://github.com/getkirby/kirby/releases) 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.

Advisory Timeline

  • First published August 29, 2024 (774 days ago).
  • Last revised August 29, 2024 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update getkirby/cms to 3.7.5.5 or later
composer require "getkirby/cms:^3.7.5.5"
Composer
Update getkirby/cms to 3.9.8.2 or later
composer require "getkirby/cms:^3.9.8.2"
Composer
Update getkirby/cms to 4.3.1 or later
composer require "getkirby/cms:^4.3.1"
Composer
Update getkirby/cms to 3.6.6.6 or later
composer require "getkirby/cms:^3.6.6.6"
Composer
Update getkirby/cms to 3.10.1.1 or later
composer require "getkirby/cms:^3.10.1.1"
Composer
Update getkirby/cms to 3.8.4.4 or later
composer require "getkirby/cms:^3.8.4.4"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (6)

Affects 1 ecosystem: packagist (1).

PackageEcosystemAffectedFixed In
getkirby/cms
packagist
3.7.0, 3.7.0.1, 3.7.0.2, 3.7.1 (+13 more)3.7.5.5
getkirby/cms
packagist
3.9.0, 3.9.1, 3.9.1-rc.1, 3.9.2 (+15 more)3.9.8.2
getkirby/cms
packagist
4.0.0, 4.0.1, 4.0.2, 4.0.3 (+10 more)4.3.1
getkirby/cms
packagist
3.0.0, 3.0.1, 3.0.1-rc.1, 3.0.2 (+119 more)3.6.6.6
getkirby/cms
packagist
3.10.0, 3.10.0.1, 3.10.13.10.1.1
getkirby/cms
packagist
3.8.0, 3.8.1, 3.8.1-rc.1, 3.8.1.1 (+9 more)3.8.4.4

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-863
    Incorrect AuthorizationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Frequently Asked Questions

What is CVE-2024-41964?
Kirby has insufficient permission checks in the language settings This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
How do I check if my project is affected by CVE-2024-41964?
CVE-2024-41964 affects getkirby/cms. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-41964 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.1

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-jm9m-rqr3-wfmh

Related CVEs

  • CVE-2026-54003
    CRITICAL

    Kirby: External Initialization of the Panel on reverse proxy setups with the `Forwarded` header

  • CVE-2026-44174
    HIGH

    Kirby CMS has an Arbitrary Method Call via REST API Search and Collection Query Endpoints

  • CVE-2026-44177
    HIGH

    Kirby CMS has pre-authentication path traversal and PHP file inclusion during user lookup

  • CVE-2026-34587
    HIGH

    Kirby has Server-Side Template Injection (SSTI) via double template resolution in option rendering

  • CVE-2026-65954
    HIGH

    PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()

  • CVE-2026-61825
    HIGH

    code16/sharp has a stored XSS via data-html-content Sanitizer Bypass

  • CVE-2026-75592
    MEDIUM

    Kirby: Access to image files outside of the site root via path traversal in the media handling

  • CVE-2026-32870
    MEDIUM

    Kirby has XML injection in its XML creator toolkit

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies