Test password reset links for host header injection
When testing a target's password reset feature, try submitting a password reset request with a modified Host header set to a server you control, such as attacker.example. If the reset link sent to the user's email points to your server instead of the target's, it may be vulnerable to host header injection. This can lead to account takeover if an attacker can trick the user into clicking the link. To confirm, check if the email sent by the target contains a link with your controlled domain, and if the link can be used to capture a valid reset token. Look for cases where the application's output crosses a trust boundary, such as being emailed to someone else or stored for later use, as these can be particularly dangerous.
Follow #account-takeover, #host-header or #password-reset for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.