Skip to content
Account takeover Write-up Beginner

How I Made $200 in 2 Minutes on HackerOne — Zomato Bug Bounty Program (With Real Example)

The password reset mechanism did not properly validate requests, allowing an attacker to reset another user's password by modifying the reset token in the URL. This could lead to account takeover.

Krish_cyber Follow

Published on cybersecuritywriteups.com

by just finding a small security flaw? Well, let me tell you my story — how I turned a simple curiosity into $200 in just 2 minutes through the Zomato Bug Bounty Program on HackerOne!

Krish_cyber, on cybersecuritywriteups.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 endpoint did not validate that the token matched the user or request, allowing token manipulation.

Impact

An attacker could hijack random accounts by manipulating the reset link.

What the attacker needed

Access to password reset page; victim's email or account identifier

How it was found

  1. Enter your email on the password reset page.
  2. Receive a password reset link via email.
  3. Before clicking your own reset link, modify the reset token in the URL.
  4. Successfully reset another user's password by tweaking the token.

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.

A password reset link usually contains a secret code (token) that proves you own the email address. If the website does not check that code properly, someone can change it to a different value and reset someone else's password, taking over their account.

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 Krish_cyber

View all

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