Skip to content
Account takeover Write-up Beginner

How I Hacked India’s Most Popular Matrimony Website and Earned a ₹10,000 Amazon Gift Card

The OTP verification system accepted a fixed code (six zeros, or even a single zero) as valid, allowing login to any account. An attacker could also use a public profile ID instead of a phone number to trigger an OTP and take over accounts.

infosecwriteups.com

Published on infosecwriteups.com

I don’t know why, but after getting married, I started receiving more and more invitations from beautiful girls on a popular matrimony website. Browsing through their profiles and photos was quite entertaining — just make sure your wife isn’t nearby while doing this!

Vivek PS, on infosecwriteups.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 OTP verification logic failed to properly validate the submitted code against the real one, and there was no rate limiting.

Impact

An attacker could log into any account if they knew the registered mobile number or profile ID, potentially accessing personal data and photos; the brute-force attempt also caused a temporary denial of service.

What the attacker needed

Knowledge of victim's phone number or profile ID; no rate limiting on OTP attempts

The fix

The report does not specify the exact fix, but the OTP system should be corrected to properly validate codes and implement rate limiting.

How it was found

  1. Intercept the OTP verification request and send it to Burp Intruder.
  2. Launch a brute-force attack against the OTP system.
  3. Notice that the first request (OTP: 000000) had a different response length.
  4. Open the response and see a success message with a password and redirect URL.
  5. Request a fresh OTP, then enter 000000 instead of the correct code to log in.
  6. Try using a profile ID instead of a mobile number to request an OTP and receive it on your phone.

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 one-time password (OTP) is a short code sent to your phone to prove it's you. Here, the website's check was broken: it accepted a made-up code like 000000 as correct, so anyone could log in as someone else if they knew the victim's phone number or profile ID.

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.

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.