Intigriti · Account Takeover · €1,550
One crafted link, full account takeover
Mobile deep links are doors. This one had no lock.
Background
Shop Apotheke is one of Europe's largest online pharmacies. An account there is not a social profile — it holds prescription history, health-adjacent purchase data, saved addresses and payment methods. A full account takeover (ATO) on a pharmacy account is simultaneously a privacy breach, a fraud enabler and a safety issue.
Mobile apps add a dangerous surface to web accounts: deep links. A deep link lets a URL open a specific screen inside the app — and apps frequently trust those links far more than they should, because the link handler sits outside the normal, well-tested web authentication flow.
The vulnerability
The vulnerable flow accepted a deep link that carried account-context into the app without properly binding it to the authenticated session. By crafting the link, an attacker could steer the flow into a state where the victim's account became accessible/controllable — the app treated the link's word as stronger proof than the session's.
The general shape, which recurs across mobile ATOs:
- A sensitive action (session establishment, email/password change, account confirmation) is reachable via deep link.
- The token or account reference inside the link is not validated against the current session, is predictable, or is not single-use.
- The app completes the action silently — the victim sees nothing unusual.
How I found it
- Enumerate the link surface. Extract every deep-link scheme and universal link from the app and map which screens/actions each one opens.
- Feed it hostile input. Open links with swapped account references, stale tokens and cross-account combinations, watching which state changes follow.
- Prove with two of my own accounts. Attacker account crafts the link; victim account (also mine) is taken over. Screenshots and request/response pairs document every step — on a health platform, you demonstrate on yourself, never on a patient.
Impact
Full account takeover: order history and health-related purchases exposed, saved payment and address data accessible, and the account usable for fraudulent orders. For a pharmacy, the confidentiality impact alone justifies the severity — the report was triaged accordingly.
Remediation
- Never let a deep link perform a sensitive account action by itself; require the authenticated session to match the link's account context.
- Make link tokens unguessable, short-lived and single-use, and invalidate them on any account-state change.
- Show an explicit in-app confirmation, naming the account, before completing link-initiated actions.
Lessons
Every mobile app has two front doors: the login screen everyone tests, and the deep-link router almost nobody does. If you hunt mobile, the manifest's intent filters are your map — read them first.
Found something similar?
I help teams verify and fix issues like this — and I retest my own reports for free. Reach me at sr558079@gmail.com or read more writeups.