API OAuth Public Key disclosure in mobile app
The mobile app contained an OAuth public key that could be extracted by decompiling the app, and the researcher claims the private key was also leaked, allowing unrestricted use of the private API. The program downplayed the issue by changing the report title.
- Disclosed after 29 days
Summary by the program
Our Android/iOS app can be decompiled and the OAuth Public token can be accessed.
Summary by the researcher
Contrary to Instacart's summary, the API private key is also leaked, allowing anyone to use Instacart's private API without restriction. Instacart (which I have found to be great in general) ignored my additional feedback and changed the report title to make it seem less of an issue.
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, sensitive OAuth credentials were embedded in the mobile app binary instead of being kept server-side.
Impact
An attacker could use the private API without restriction, according to the researcher, though the program only acknowledged the public token.
What the attacker needed
Ability to decompile the mobile app
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.
Mobile apps are like packages that can be opened and inspected. When an app includes secret keys, anyone who opens it can find them. Here, a key meant to be public was found, but the researcher says a private key was also exposed, which would let outsiders use the company's internal API without permission.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.