twitter api access token leaked on github
Twitter API consumer and access credentials, plus a Mixpanel token, were leaked on the Liberapay GitHub page. An attacker with these credentials could have severe impact.
Originally disclosed on HackerOne
- Disclosed after under an hour
sensitive token were leaked on GitHub page of liberapay . also mixpanel token was leaked TWITTER_CONSUMER_KEY=QBB9vEhxO4DFiieRF68zTA TWITTER_CONSUMER_SECRET=mUymh1hVMiQdMQbduQFYRi79EYYVeOZGrhj27H59H78 +TWITTER_ACCESS_KEY=34175404-G6W8Hh19GWuUhIMEXK0LyZsy7N9aCMcy1bYJ9rI +TWITTER_ACCESS_SECRET=K6wxV1OCsihZAkEPkWtoLYDiRJnWajBBWn4UgliTRQ TWITTER_CALLBACK=http://127.0.0.1:8537/on/twitter/associate MIXPANEL_TOKEN=cb9dec68ac0ee57071f0be39f164a417
Impact
a attacker with your credentials can have severe impact
Attachments

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 secrets were committed into a publicly visible file in the project's GitHub repository instead of being kept out of version control.
Impact
An attacker with the leaked credentials could have a severe impact, though the text does not detail exactly what actions were possible.
What the attacker needed
GitHub page containing the credentials; leaked credentials present there
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.
Applications often need secret passwords, called tokens or keys, to talk to services like Twitter. If those secrets are saved in a public place such as a GitHub page, anyone who finds them can use them as if they were the application's owner. Here the secrets were visible in a public code page.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.