CVE-2023-38489: Insufficient Session Expiration after a password change
7.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.37146%
CWE
Published
7/28/2023
Updated
11/7/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| getkirby/cms | composer | < 3.5.8.3 | 3.5.8.3 |
| getkirby/cms | composer | >= 3.6.0, < 3.6.6.3 | 3.6.6.3 |
| getkirby/cms | composer | >= 3.7.0, < 3.7.5.2 | 3.7.5.2 |
| getkirby/cms | composer | >= 3.8.0, < 3.8.4.1 | 3.8.4.1 |
| getkirby/cms | composer | >= 3.9.0, < 3.9.6 | 3.9.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from two key gaps: 1) Session validation in Auth::currentUserFromSession lacked password change timestamp checks, and 2) Login mechanisms didn't record essential timing metadata. The commit added passwordTimestamp() checks in Auth.php and login timestamp storage in User.php, confirming these were the missing protections. The test patches in AuthTest.php that validate() session invalidation after password changes further corroborate these functions' central role in the vulnerability.