GHSA-qcgx-7p5f-hxvr
Discoverability of user password hash in Statamic CMS
Quick fix
GHSA-qcgx-7p5f-hxvr — statamic/cms: upgrade to the fixed version with the command below.
composer require statamic/cms:^3.2.39Details
## Description
It was possible to confirm a single character of a user's password hash (just the hash, not the password) using a specially crafted regular expression filter in the users endpoint of the REST API. Many requests could eventually uncover the entire hash.
The hash would not be in the response, however the presence or absence of a result would confirm if the character was in the right position. It would take a long time since the API has throttling enabled by default.
Additionally, the REST API would need to be enabled, as well as the users endpoint. Both of which are disabled by default.
## Resolution
Filtering by password or password hash has been disabled.
## Credits
We would like to thank Thibaud Kehler for reporting the issue.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/statamic/cms"]}'