How I Found Two Critical Vulnerabilities in a Desktop App Exposin
A desktop client fetched a configuration file from a third-party CDN that contained an Iterable API key, which allowed access to large datasets of user and internal employee PII. A Split.io SDK key was also found in a JavaScript file, exposing feature flag configurations with whitelisted user emails.
Published on uchihamrx.medium.com
.بِسْ� اللَّه الرَّحْ� ن الرَّحِي� . . اللَّه� َّ صَلِّ وَسلَّ� وبارك على نَبِينَا � ُح� َّد
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, secrets such as API keys were embedded in client-side configuration and JavaScript files that were accessible to anyone who could intercept or read them.
Impact
The exposed keys allowed access to large datasets of user PII, including internal employee accounts and whitelisted emails, though the second issue was a duplicate already reported via the web application.
What the attacker needed
Desktop client installed; ability to intercept traffic; access to the CDN endpoint
How it was found
- Configure Burp to intercept all Windows traffic from the desktop client.
- Use the app normally to generate traffic, then filter requests for the application name.
- Identify a request to a third-party CDN returning a JSON configuration file.
- Extract the Iterable API key from the JSON and test Iterable API endpoints with it.
- Collect JavaScript files from the desktop client and review them for configuration blocks.
- Extract the Split.io SDK key and query the Split API to retrieve feature flag configurations.
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.
The desktop app downloaded a settings file that included a secret key for a marketing service. Anyone who found that key could use it to read the service's data, including names, emails and phone numbers. A second key for a feature-flag service was also found in the app's code, exposing more user emails.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.