Skip to content
Account takeover Write-up Beginner

Catch that response ! (A tale of leaked URL reset password in Response)

The password reset endpoint returned the reset password URL in the HTTP response, exposing it to anyone who submitted an email address. An attacker who knew a victim's email could obtain the reset link and take over the account.

Jody ritonga Follow

Published on systemweakness.com

Hello everyone ! It’s good to update my medium blog, can’t wait to share with you guys another Bug that i’ve found !

Jody ritonga, 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 server included the password reset URL in the API response instead of only sending it by email, and the frontend did not hide it.

Impact

An attacker who knows a victim's email address could obtain the reset password URL and take over the account.

What the attacker needed

Knowledge of victim's email address; access to the forgot password feature

The fix

The issue was fixed by the company within one day, likely by removing the reset URL from the response.

How it was found

  1. Set up Burp Suite and go to the forgot password section.
  2. Enter an email address and turn on Burp Intruder to catch the response.
  3. Send the request to Repeater and click send.
  4. Observe the response containing sensitive data and the reset password URL.

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 usually emails you a special link to reset it. Here, the website also put that same secret link directly in the reply it sent back to the browser, so anyone who asked for a reset for someone else's email could read the link and use it to change that person'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 Jody ritonga

View all

7 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.