Improper Access Control Affecting getkirby/panel package, versions <2.5.14


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-GETKIRBYPANEL-1048842
  • published8 Dec 2020
  • disclosed8 Dec 2020
  • creditUnknown

Introduced: 8 Dec 2020

CVE-2020-26253  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade getkirby/panel to version 2.5.14 or higher.

Overview

Affected versions of this package are vulnerable to Improper Access Control. The admin panel may be accessed if hosted on a .dev domain. In order to protect new installations on public servers that don't have an admin account for the Panel yet, Kirby blocks account registration there by default. To 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. This installation block implementation still assumed that .dev domains are local domains in the vulnerable versions, 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. Additionally the local installation check may also fail if your site is behind a reverse proxy. You are only affected if you use a .dev domain or your site is behind a reverse proxy and you have not yet registered your first Panel account on the public server and someone finds your site and tries to login at yourdomain.dev/panel before you register your first account.

References

CVSS Scores

version 3.1