CVE-2022-39314
PHP vulnerability analysis and mitigation

Overview

Kirby, a flat-file CMS, was found to be vulnerable to user enumeration in versions prior to 3.5.8.2, 3.6.6.2, 3.7.5.1, and 3.8.1. The vulnerability was discovered and disclosed on October 18, 2022, affecting the code-based login and password reset forms when using the auth.methods option (GitHub Advisory).

Technical details

The vulnerability stems from improper error handling during the creation of code challenges for code-based login or password reset functionality. When errors occurred during challenge processing or within the user.login:failed hook, attackers could differentiate between existing and non-existing users based on the system's response. The vulnerability was assigned a CVSS v3.1 score of 4.8 (Medium) with a vector string of CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N (GitHub Advisory).

Impact

This vulnerability could allow attackers to confirm which users are registered in a Kirby installation. The exposed information could be exploited for social engineering attacks against users or to discover the organizational structure of the company using the CMS (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in versions 3.5.8.2, 3.6.6.2, 3.7.5.1, and 3.8.1. The patches include swallowing errors during auth challenge creation and introducing a new auth.debug option. As a temporary workaround, users can set the auth.methods option to password to disable the code-based login and password reset forms (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65346CRITICAL9.1
  • PHPPHP
  • alexusmai/laravel-file-manager
NoNoDec 04, 2025
CVE-2025-66468HIGH7.6
  • PHPPHP
  • aimeos/ai-cms-grapesjs
NoYesDec 02, 2025
CVE-2025-65345MEDIUM6.5
  • PHPPHP
  • alexusmai/laravel-file-manager
NoNoDec 03, 2025
CVE-2025-65657MEDIUM6.5
  • PHPPHP
  • feehi/cms
NoNoDec 02, 2025
CVE-2025-65186MEDIUM6.1
  • PHPPHP
  • getgrav/grav
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management