Skip to content
Account takeover Write-up Beginner

Hacking Grindr Accounts with Copy and Paste

The password reset endpoint returned the reset token in the response body of an anonymous request, allowing anyone who knew a user's email address to reset their password and take over the account. The attacker could then access all profile data and messages.

troyhunt.com

Published on troyhunt.com

Sexuality, relationships and online dating are all rather personal things. They're aspects of our lives that many people choose to keep private or at the very least, share only with people of our choosing.

The author, on troyhunt.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

The password reset endpoint included the secret reset token in the HTTP response body instead of only sending it to the user's email.

Impact

An attacker could take over any Grindr account by knowing the victim's email address, gaining access to profile information, private messages, and other sensitive data.

What the attacker needed

Knowledge of victim's email address; no account required

The fix

The vulnerable resource was taken offline and a fix was deployed; Grindr stated the issue has been fixed.

How it was found

  1. Enter the victim's email address on the Grindr password reset page and solve the Captcha.
  2. Observe the response, which contains the reset token.
  3. Copy the token and construct a URL with the token and the victim's email address.
  4. Load the URL, set a new password, and solve the Captcha.
  5. Log in to the victim's account using the new password (via the app, then the website).

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 sends a secret code (a reset token) to your email so only you can set a new password. Here, the website also put that secret code directly in the response it sent back to the browser, so anyone who asked for a reset for someone else's email could see the code and use it to change that person's password. This let an attacker take over any account just by knowing the victim's email address.

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.