Phishing user to download malicious app could lead to leakage of User Access Token, Email, Name and Profile photo via exported RemoteService
An exported Android service in the Zomato app could be bound by any other app on the device, exposing the user's access token and personal details. An attacker who tricked a user into installing a malicious app could use that token to take over the account.
Originally disclosed on HackerOne
- Triaged in 11 hours
- Fixed in 12 days
- Paid in 12 days
- Disclosed after 53 days
Summary by the program
Thanks @shivasurya for helping us keep @zomato secure :)
Summary by the researcher
One of the service components in the Zomato Android app was open to bind a service connection ( AIDL ) So, if an attacker would have phished a user to download a malicious app, it could have lead to leakage of access token of the user that leads to account takeover.
Zomato acted promptly to fix the issue and rolled out the update.
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 an Android service component was declared exported without restricting which apps could bind to it, so it returned sensitive user data and the access token to any caller.
Impact
A malicious app installed by a phished user could obtain the access token, which could lead to account takeover.
What the attacker needed
Victim installs a malicious app; Android device
The fix
The issue was fixed and an update was rolled out; the text does not say how.
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.
Android apps can offer small background helpers called services that other apps on the same phone may connect to. If such a service is left 'exported', any installed app can talk to it, even a malicious one. Here the service handed over a login token, which is like a temporary password, so the attacker could sign in as the victim.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.