KirbyApplication · Getkirby

CVE-2022-39315

MEDIUM · 5.3 CVSS v3.1 Published 2022-10-25
Fix available
A fix is available. Upgrade to 3.5.8.2 / 3.6.6.2 or later.
See remediation →
62/100
Remediation priority · Elevated
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Kirby is a Content Management System. Prior to versions 3.5.8.2, 3.6.6.2, 3.7.5.1, and 3.8.1, a user enumeration vulnerability affects all Kirby sites with user accounts unless Kirby's API and Panel are disabled in the config. It can only be exploited for targeted attacks because the attack does not scale to brute force. The problem has been patched in Kirby 3.5.8.2, Kirby 3.6.6.2, Kirby 3.7.5.1, and Kirby 3.8.1. In all of the mentioned releases, the maintainers have rewritten the affected code so that the delay is also inserted after the brute force limit is reached.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

User enumeration vulnerability in Kirby CMS login API allows attackers to identify valid usernames through timing differences or distinct error responses. The lack of a delay after reaching the brute force limit enables targeted user enumeration attacks. Patched versions insert a delay after the brute force limit is reached.

MitigationUpdate to Kirby versions 3.5.8.2, 3.6.6.2, 3.7.5.1, or 3.8.1. Alternatively, disable the API and Panel if not required.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
KirbyApplication
Affected:< 3.5.8.2>= 3.6.0, < 3.6.6.2>= 3.7.0, < 3.7.5.1= 3.8.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

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

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify installed Kirby version
    Check the composer.json file in the Kirby root directory for the 'getkirby/composer-install' or 'getkirby/cms' version entry, or look in the index.php file for a version constant
    Affected if The installed version falls into any of these ranges: < 3.5.8.2, >= 3.6.0 and < 3.6.6.2, >= 3.7.0 and < 3.7.5.1, or equals 3.8.0
  2. Verify the login API endpoint is exposed
    Attempt a POST request to the /api/auth/login endpoint (or the configured API route) with any username and observe the response behavior and timing
    Affected if The API endpoint is accessible and responds with distinguishable messages for valid vs invalid usernames, or shows timing differences
  3. Check if the Panel is publicly accessible
    Navigate to the /panel/ login page and confirm it is reachable without authentication restrictions
    Affected if The Panel login interface is accessible from the internet without IP restrictions or authentication barriers
  4. Inspect response consistency for invalid usernames
    Send login attempts with multiple different usernames and compare the HTTP status codes, error messages, and response times for each attempt
    Affected if Different usernames produce noticeably different error messages, response codes, or timing patterns that reveal which usernames are valid in the system

You are affected if your Kirby installation version is within the vulnerable ranges listed and either the API or Panel login interface is accessible to potential attackers.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 3.5.8.2 / 3.6.6.2 / 3.7.5.1 or later
Fixed in 3.5.8.23.6.6.23.7.5.1
Interim mitigation

Update to Kirby versions 3.5.8.2, 3.6.6.2, 3.7.5.1, or 3.8.1. Alternatively, disable the API and Panel if not required.

Recommended fix High confidence

Kirby 3.8.1 (or 3.5.8.2, 3.6.6.2, or 3.7.5.1 depending on your current branch)

  1. 1. Identify your current Kirby version by checking the composer.json file or the kirby/composer.json file in your installation.
  2. 2. Based on your current version, upgrade to the corresponding fixed release:
  3. - If using 3.5.x series: upgrade to 3.5.8.2
  4. - If using 3.6.x series: upgrade to 3.6.6.2
  5. - If using 3.7.x series: upgrade to 3.7.5.1
  6. - If using 3.8.0: upgrade to 3.8.1
  7. 3. Run composer update to apply the new version: composer update kirby/cms --with-all-dependencies
  8. 4. Test your installation thoroughly after upgrading, especially login functionality and API responses.
Caveat Review Kirby's release notes for your target version to check for any breaking changes between your current version and the fixed version; major version jumps (e.g., 3.5 to 3.8) may have more significant changes

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Kirby Scoped from the published advisory
  • Consultation2.0 h
  • Implementation1.0 h
  • Testing4.0 h
  • Review / QA1.0 h
8.0 hours of engineering $1,360
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,176.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2022-39315 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2022-39315 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data