Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. getkirby/cms
  4. ›
  5. GMS-2022-5560

GMS-2022-5560: Kirby CMS vulnerable to user enumeration in the code-based login and password reset forms

October 18, 2022

Under normal circumstances, entering an invalid email address results in a “fake” login code form that looks exactly like the one of an existing user (unless debugging is enabled). However, the code that handles the creation of a code challenge (for code-based login or password reset) didn’t catch errors that occurred while the challenge request was processed. If the challenge itself runs into an error (e.g. if the email could not be sent), attackers could tell existing users (where the challenge code is called) from non-existing users (where the challenge code is not called and therefore does not output an error). If you are using the user.login:failed hook and any exception is thrown within the hook, attackers could see that the user does not exist. As long as no error occurs during challenge creation and during the processing of the user.login:failed hook, your Kirby sites are not affected by this vulnerability.

References

  • github.com/advisories/GHSA-43qq-qw4x-28f8
  • github.com/getkirby/kirby/releases/tag/3.5.8.2
  • github.com/getkirby/kirby/releases/tag/3.6.6.2
  • github.com/getkirby/kirby/releases/tag/3.7.5.1
  • github.com/getkirby/kirby/releases/tag/3.8.1
  • github.com/getkirby/kirby/security/advisories/GHSA-43qq-qw4x-28f8

Code Behaviors & Features

Detect and mitigate GMS-2022-5560 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.5.0 before 3.5.8.2, all versions starting from 3.6.0 before 3.6.6.2, all versions starting from 3.7.0 before 3.7.5.1, version 3.8.0

Fixed versions

  • 3.5.8.2
  • 3.6.6.2
  • 3.7.5.1
  • 3.8.1

Solution

Upgrade to versions 3.5.8.2, 3.6.6.2, 3.7.5.1, 3.8.1 or above.

Source file

packagist/getkirby/cms/GMS-2022-5560.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:29 +0000.