Skip to content
Account takeover Disclosed report Intermediate

Two click Account Takeover

The HEY Email Android app mishandles incoming deep links, allowing an attacker to make the app send the user's Authorization Bearer token to an attacker-controlled server. The attacker must trick the user into clicking a link and then performing an Undo action.

fr4via Follow

Originally disclosed on HackerOne

High 8.1 View original
  • Triaged in 47 hours
  • Fixed in 4 days
  • Paid in 3 days
  • Disclosed after 7 months

Summary by the program

This report concerns the HEY Email Android application (com.basecamp.hey), which allows for a two-click account takeover. Due to improper handling of incoming deeplinks, the application can be manipulated to send the user's Authorization Bearer token to an attacker-controlled server if the attacker can trick the user into clicking a link and then performing an Undo action. The vulnerability specifically occurs in the MainActivity component when processing deeplinks with URL extras containing specific query parameters.

The original report as published on HackerOne, by fr4via. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the app's MainActivity processed deep-link URL extras without validating their destination, allowing an attacker to redirect the token to an arbitrary server.

Impact

An attacker could steal the victim's Authorization Bearer token, leading to account takeover.

What the attacker needed

Victim uses the HEY Email Android app; victim clicks an attacker link; victim performs an Undo action

How it was found

  1. The attacker crafts a deep link with query parameters that point to an attacker-controlled server.
  2. The attacker sends the link to the victim, who clicks it and opens the app.
  3. The victim performs an Undo action in the app.
  4. The app sends the user's Authorization Bearer token to the attacker's server.

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 report has not been written yet. The Original tab links to the source.

A deep link is a special web address that opens a specific screen inside a mobile app. Here, the app trusted such links too much and could be tricked into sending the user's login token (a secret string that proves who they are) to a server the attacker controls. The attacker only needed the victim to tap a link and then tap Undo.

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 fr4via

View all

15 more disclosed reports, best first.

More from Basecamp

View all

The newest disclosed reports for this program.

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.