$10,200 for a Link That Opened the Wrong App’s Trust: Mobile Deep Link Hijacking to Account…
An exported Android activity that handles password-reset deep links accepted reset tokens from any intent, including ones constructed directly by another app on the same device. A malicious co-installed app could complete a password reset for a known token without any user interaction.
Mobile apps have their own version of the open-redirect and OAuth-callback problems I’d chased on the web, wearing a different costume: custom URL schemes and deep links, which let a tap on a web link or a notification open directly into a specific screen of a native app. The trust model is different enough from a…
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 activity was exported and processed any intent carrying a token extra without checking that the intent came from a genuine deep-link tap.
Impact
Any malicious app installed on the same device could complete a password reset if it obtained or guessed a valid token, without user interaction; the scheme-collision path was limited by a chooser dialog on the tested Android version.
What the attacker needed
Malicious app installed on same device; valid reset token known or guessed
The fix
The app migrated to verified App Links and added caller verification to the reset activity, and the report recommends making the activity non-exported where possible and treating tokens as single-use and short-lived.
How it was found
- Decompile the Android APK and read the manifest to find activities registered for custom URL schemes.
- Identify the password-reset activity and its intent filter for the custom scheme.
- Build a minimal test app that registers the same scheme and install it alongside the real app.
- Trigger a reset link and observe the chooser dialog on the test device.
- Read the activity's handling logic and note it trusts any intent carrying a token extra.
- Construct an intent directly targeting the exported activity with a self-generated token and confirm the reset completes.
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.
Android apps can expose screens (activities) that other apps are allowed to open. This app's password-reset screen was open to any app and trusted whatever reset token it was handed, so a malicious app on the same phone could trigger a reset without the victim tapping anything.
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.