Skip to content
Info disclosure Disclosed report Beginner

ClientId gives away platform (iOS/Android) from which a secret was posted.

The ClientId field in posts to the /stream API is generated differently by iOS and Android apps, revealing the platform used. An attacker could use this to help de-anonymise authors of secrets.

denull Follow

Originally disclosed on HackerOne

  • Fixed in 2 days
  • Disclosed after 27 days

In /stream API request each post contains a property named "ClientId". I suppose it's generated by client applications when user is posting a secret. It seems that iOS and Android applications generate this string quite differently: xLfLHR (six random characters) — iOS 27c9d93d-7044-40c0-87c8-2fa7d5b252b3 (GUID) — Android

Knowing that information (and models of friends' phones) can possibly help to de-anonymize authors of secrets.

Simple fix for this problem would be to use the same strategy for generating ClientIds on both platforms.

The original report as published on HackerOne, by denull. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 the iOS and Android apps use different algorithms to generate the ClientId value, making the platform distinguishable.

Impact

This could help de-anonymise authors of secrets by linking posts to phone platforms, especially when combined with knowledge of friends' phone models.

What the attacker needed

Access to /stream API posts

The fix

The ClientId generation should be made consistent across both platforms so the platform cannot be inferred.

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.

When you post something, the app includes a hidden identifier called ClientId. The iOS app makes a short random code, while the Android app makes a long code with dashes. Because these look different, someone reading the posts can tell which phone type was used, which might help identify who wrote an anonymous secret.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Secret

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.