Skip to content
Leaked secrets Write-up Intermediate

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.

Abdelrhman Amin Follow

Published on uchihamrx.medium.com

.بِسْ� اللَّه الرَّحْ� ن الرَّحِي� . . اللَّه� َّ صَلِّ وَسلَّ� وبارك على نَبِينَا � ُح� َّد

Abdelrhman Amin, 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

  1. Configure Burp to intercept all Windows traffic from the desktop client.
  2. Use the app normally to generate traffic, then filter requests for the application name.
  3. Identify a request to a third-party CDN returning a JSON configuration file.
  4. Extract the Iterable API key from the JSON and test Iterable API endpoints with it.
  5. Collect JavaScript files from the desktop client and review them for configuration blocks.
  6. 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.

More by Abdelrhman Amin

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Leaked secrets and credentials

The lesson behind this report.

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.