HighGHSA-5cjr-78cq-3wrgCVE-2022-29933

Improper account password reset in Craft CMS

Published 10 May 2022 · Updated 17 Feb 2024

Affected package

craftcms/cmsComposer
Affected
<3.7.36
Fixed in
3.7.36
Update to the fixed version for your release line, for example:composer require craftcms/cms:^3.7.36

Details

Craft CMS through 3.7.36 allows a remote unauthenticated attacker, who knows at least one valid username, to reset the account's password and take over the account by providing a crafted HTTP header to the application while using the password reset functionality. Specifically, the attacker must send X-Forwarded-Host to the /index.php?p=admin/actions/users/send-password-reset-email URI. NOTE: the vendor's position is that a customer can already work around this by adjusting the configuration (i.e., by not using the default configuration).

Is GHSA-5cjr-78cq-3wrg in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected craftcms/cms, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.