Skip to content
Leaked secrets Disclosed report Beginner

Facebook App API credentials leaked in the APK

chip_sec Follow

Originally disclosed on HackerOne

  • Fixed in 2 months
  • Disclosed after 10 months

GlassWire version 1,1,26,0b (F1827380) contains Facebook App API credentials (https://developers.facebook.com/docs/facebook-login/guides/access-tokens?locale=en_US#apptokens) in the GlassWire.exe file. App ID: 660471650708388 App Secret: 71a2d003a5ecfab4f4ad86dfb70b74e0

To check that token is work run:
curl "https://graph.facebook.com/oauth/access_token?client_id=660471650708388&client_secret=71a2d003a5ecfab4f4ad86dfb70b74e0&redirect_uri=&grant_type=client_credentials"
You will get aresponse {"access_token":"660471650708388|jboBZgqj64W1JXIAKIbtVz24FlQ","token_type":"bearer"}

From the Facebook documentation https://developers.facebook.com/docs/facebook-login/guides/access-tokens#apptokens:

Note that because this request uses your app secret, it must never be made in client-side code or in an app binary that could be decompiled. It is important that your app secret is never shared with anyone. Therefore, this API call should only be made using server-side code.

Impact

This token can be used to modify Facebook App settings.

The original report as published on HackerOne, by chip_sec. 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.

What is known

A medium-severity leaked secrets bug in GlassWire. HackerOne made it public on 12 May 2023.

About Leaked secrets

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

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is Leaked secrets?

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

More by chip_sec

View all

3 more disclosed reports, best first.

More from GlassWire

View all

The newest disclosed reports for this program.

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.