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).
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-29933
- https://sec-consult.com/vulnerability-lab/
- http://packetstormsecurity.com/files/166989/Craft-CMS-3.7.36-Password-Reset-Poisoning-Attack.html
- https://sec-consult.com/vulnerability-lab/advisory/password-reset-poisoning-attack-craft-cms/
- https://github.com/advisories/GHSA-5cjr-78cq-3wrg