Interesting Bug Bounty Findings I found in Android Application
The write-up describes three Android vulnerabilities: a biometric authentication bypass where the app used a stored token before validating the biometric check, an account takeover via a custom-scheme deep link that leaked an authentication token to a malicious app, and an open redirect through an exported activity that accepted an unvalidated URL from an intent extra. An attacker could bypass biometric login, steal a victim's session token, or redirect users to phishing sites.
In this write-up, I’ll walk through three Android security vulnerabilities I discovered during various bug bounty programs. These findings show how small implementation mistakes in deep links, biometric flows, and Intent extra handling can create high-impact issues such as Account Takeovers, authentication bypasses…
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 app trusted stored credentials and external inputs before performing the required security checks, and it used a custom URI scheme instead of verified App Links.
Impact
An attacker could bypass biometric authentication, steal an authentication token to take over an account, or redirect users to phishing or malicious sites from within the trusted app.
What the attacker needed
Victim installs malicious app; victim enables biometric login; victim clicks a deep link; victim selects malicious app in chooser
The fix
The app should perform biometric checks before retrieving tokens, use verified App Links with PKCE instead of custom schemes, and validate or restrict URLs passed via intent extras.
How it was found
- Enable biometric authentication in the banking app.
- Bypass SSL certificate pinning to observe API calls.
- Reopen the app and observe that authenticated API requests are sent before the biometric prompt appears.
- For the deep link issue, build a PoC app that registers the same custom scheme and forwards the authToken to an attacker server.
- When the victim completes sign-in in the browser, the Android chooser may let the victim select the malicious app, which then receives the token.
- For the open redirect, a malicious app starts the exported LoginSelectorActivity with a crafted orig_uri extra, and the user tapping the button is redirected to an attacker-chosen site.
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.
This report covers three separate Android app mistakes. First, a banking app checked the user's fingerprint only after it had already logged them in with a saved token, so the fingerprint check did nothing. Second, a login link used a custom address scheme that any other app could claim, letting a malicious app steal the login token. Third, a screen that other apps could open accepted a web address from the caller and sent the user there without checking it, which is useful for phishing.
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.