Improper account password reset in Craft CMS
Impact
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).
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 3.7.36Ecosystem versions | 3.7.36 |
Version evidence: OSV · GHSA-5cjr-78cq-3wrg
View original version evidence (754 explicit versions)
Original source description
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
- Security advisory nvd.nist.gov/vuln/detail/CVE-2022-29933
- Source reference github.com/craftcms/cms
- Security advisory sec-consult.com/vulnerability-lab
- Security advisory sec-consult.com/vulnerability-lab/advisory/password-reset-poisoning-attack-craft-cms
- Public exploit reference packetstormsecurity.com/files/166989/Craft-CMS-3.7.36-Password-Reset-Poisoning-Attack.html