Got Takeover Account From Multiple Bugs
The password reset link could be changed to an attacker-controlled URL, and the reset token was reusable with no rate limit. An attacker could obtain the victim's reset token via IDOR and use it repeatedly to take over the account.
Published on systemweakness.com
Hi everyone how are you?, I hope you guys are well. I’m RyuuKhagetsu, this is my article in English, sorry if there are any mistakes.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the password reset URL was built from user-supplied input without validation, and the reset token was neither single-use nor rate-limited.
What the attacker needed
Victim clicks a link; attacker can obtain victim's email via IDOR; attacker controls a server
How it was found
- Intercept the password reset request and observe the reset URL parameter.
- Change the reset URL to an attacker-controlled server.
- Set up a PHP server and ngrok tunnel to receive requests.
- Use IDOR to obtain the victim's email address.
- Send the modified reset link to the victim; when clicked, the token is sent to the attacker's server.
- Use the captured token to reset the victim's password.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
When you forget your password, a website emails you a special link that lets you set a new one. This report shows that the site let an attacker change where that link points, and the secret code inside the link never expired. By also finding a way to learn the victim's email address, the attacker could capture the code and reset the victim's password.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.