Disclosure of all uploads to Cloudinary via hardcoded api secret in Android app
The Android app contained a hardcoded Cloudinary API key and secret, which an attacker could extract and use to access, replace, delete, and change settings of all uploaded files, as well as view usage statistics.
- Triaged in 2 hours
- Fixed in 4 days
- Paid in 4 days
- Disclosed after 4 months
Hi, in file com/reverb/app/CloudinaryFacade.java you have hardcoded the following config:
private static final java.lang.String CONFIG = "cloudinary://434762629765715:█████@reverb";
where 434762629765715:████████ is basic auth details.
It shouldn't be disclosed to third parties as official docs say (https://github.com/cloudinary/cloudinary_android):
Note: You should only include the
cloud_namein the value, the api secret and key should be left out of the application.
I was able to access your account data


Those keys give me ability to not only access the files, but also replace and delete them, change different their settings. Also this url https://api.cloudinary.com/v1_1/reverb/usage discloses statistics regarding stored files
"requests":1894689201,
"resources":36029794,
"derived_resources":256178843
Impact
Disclosure of all uploads to Cloudinary via hardcoded api secret in Android app
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
What the attacker needed
Access to the app's source code or decompiled package
The fix
The hardcoded API secret should be removed from the app, and only the cloud name should be included, as per Cloudinary's documentation.
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.
The app had a secret password (API secret) written directly into its code. Anyone who downloaded the app could find this secret and use it to control the service that stores all uploaded files, letting them view, change, or delete those files.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.