CVE-2022-24784: Discoverability of user password hash in Statamic CMS
3.7
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.48604%
CWE
Published
3/29/2022
Updated
6/30/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
statamic/cms | composer | < 3.2.39 | 3.2.39 |
statamic/cms | composer | >= 3.3.0, < 3.3.2 | 3.3.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from API endpoints allowing regex filtering on password hash fields. The pull requests (#5568/#5604) explicitly disabled filtering by password/password_hash fields, indicating these functions previously lacked field restrictions. The UserController.index
method would handle API filtering requests, while UserQueryBuilder.process()
would process the actual filtering logic. Both would need modifications to implement the security restriction described in the resolution.