Description
Natours is a Tour Booking API. The attacker can easily take over any victim account by injecting an attacker-controlled server domain in the Host header when requesting the /forgetpassword endpoint. This vulnerability is fixed with commit 7401793a8d9ed0f0c250c4e0ee2815d685d7a70b.
Problem types
CWE-640: Weak Password Recovery Mechanism for Forgotten Password
Product status
References
github.com/...atours/security/advisories/GHSA-8gmw-7p75-58qv
github.com/...ommit/7401793a8d9ed0f0c250c4e0ee2815d685d7a70b