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.
- 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.
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
- The attacker crafts a deep link with query parameters that point to an attacker-controlled server.
- The attacker sends the link to the victim, who clicks it and opens the app.
- The victim performs an Undo action in the app.
- 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.