Skip to content
Account takeover Write-up Intermediate

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.

RyuuKhagetsu Follow

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.

RyuuKhagetsu, on systemweakness.com

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

  1. Intercept the password reset request and observe the reset URL parameter.
  2. Change the reset URL to an attacker-controlled server.
  3. Set up a PHP server and ngrok tunnel to receive requests.
  4. Use IDOR to obtain the victim's email address.
  5. Send the modified reset link to the victim; when clicked, the token is sent to the attacker's server.
  6. 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.

More by RyuuKhagetsu

View all

8 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.