CVE-2020-26253: Getkirby/panel Kirby .dev Domains And Some Vulnerability
MODERATECVE-2020-26253 is a MODERATE (CVSS 6.8) kirby .dev domains and some vulnerability (CWE-346: Origin Validation Error) affecting Getkirby/panel libraries in the Packagist ecosystem. The issue involves kirby .dev domains and some reverse proxy setups were treated as local. Remediation is available by upgrading affected packages to version 2.5.14, 3.3.6.
CVE-2020-26253 at a Glance
Security Impact
CVSS: 6.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N).
How to Fix CVE-2020-26253
To remediate this vulnerability, upgrade all affected Getkirby/panel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade getkirby/panel to 2.5.14
Upgrade getkirby/cms to 3.3.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for getkirby/panel
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-26253, inspect your project dependencies for Getkirby/panel:
inspect dependencies for getkirby/panel
Analyze the terminal output to locate any version of Getkirby/panel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.5.14), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-346: Origin Validation Error, where the product does not properly verify that the source of data or communication is valid. In Getkirby/panel, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-26253 Affected Getkirby/panel Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
getkirby/panel
|
Packagist |
< 2.5.14
|
2.5.14
|
|
getkirby/cms
|
Packagist |
≥ 3.0.0
< 3.3.6
|
3.3.6
|
References
Frequently Asked Questions
What is CVE-2020-26253?
Which Getkirby/panel versions are affected?
What version fixes CVE-2020-26253?
Is getkirby/panel affected?
Is getkirby/cms affected?
What is the CVSS score of CVE-2020-26253?
What CWE is associated with CVE-2020-26253?
How can I check Packagist dependencies for CVE-2020-26253?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2ccx-2gf3-8xvv",
"modified" : "2022-07-20T17:00:39Z",
"published" : "2021-01-14T19:15:19Z",
"aliases" : [ "CVE-2020-26253" ],
"summary" : "Kirby .dev domains and some reverse proxy setups were treated as local",
"details" : "### Impact\n\n#### About our registration block\n\nIn order to protect new installations on public servers that don't have an admin account for the Panel yet, we block account registration there by default. This is a security feature, which we implemented years ago in Kirby 2. It helps to avoid that you forget registering your first admin account on a public server. \n\nIn this case – without our security block – someone else might theoretically be able to find your site, find out it's running on Kirby, find the Panel and then register the account first. It's an unlikely situation, but it's still a certain risk.\n\nTo be able to register the first Panel account on a public server, you have to enforce the installer via a config setting. This helps to push all users to the best practice of registering your first Panel account on your local machine and upload it together with the rest of the site. \n\n#### The issue\n\nAs noted by [Jukka Rautanen](https://github.com/jukra), this installation block implementation in Kirby versions before 3.3.6 still assumed that .dev domains are local domains, which is no longer true. In the meantime, those domains became publicly available. This means that our installation block is no longer working as expected if you use a .dev domain for your Kirby site.\n\nIn fixing this issue, we've also found out that the local installation check may also fail if your site is behind a reverse proxy. \n\n#### Am I affected?\n\nYou are only affected if:\n\n1. you use a .dev domain or your site is behind a reverse proxy &\n2. you have not yet registered your first Panel account on the public server & \n3. someone finds your site and tries to login at `yourdomain.dev/panel` before you register your first account.\n\nYou are not affected if you have already created one or multiple Panel accounts (no matter if on a .dev domain or behind a reverse proxy).\n\n### Patches\n\nThe problem has been patched in [Kirby 2.5.14](https://github.com/getkirby-v2/panel/releases/tag/2.5.14) and [Kirby 3.3.6](https://github.com/getkirby/kirby/releases/tag/3.3.6). Please update to one of these or a [later version](https://github.com/getkirby/kirby/releases) to fix the vulnerability.\n\n**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.\n\n### Workarounds\n\nKirby 2 sites on older releases can also be patched by applying the [changes from this commit](https://github.com/getkirby-v2/panel/commit/7f9ac1876bacb89fd8f142f5e561a02ebb725baa).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "getkirby/panel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.5.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "getkirby/cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.3.6"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/getkirby/kirby/security/advisories/GHSA-2ccx-2gf3-8xvv"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-26253"
}, {
"type" : "WEB",
"url" : "https://github.com/getkirby-v2/panel/commit/7f9ac1876bacb89fd8f142f5e561a02ebb725baa"
}, {
"type" : "WEB",
"url" : "https://github.com/getkirby/kirby/releases/tag/3.3.6"
}, {
"type" : "WEB",
"url" : "https://packagist.org/packages/getkirby/cms"
}, {
"type" : "WEB",
"url" : "https://packagist.org/packages/getkirby/panel"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-346" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-01-14T17:55:05Z",
"nvd_published_at" : "2020-12-08T02:15:00Z"
}
}