Skip to content
Info disclosure Disclosed report Beginner

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.

sonahri501 Follow

Originally disclosed on HackerOne

Informational View original
  • 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

libtoke.png
libtoke.png From the original on HackerOne

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

More by sonahri501

View all

1 more disclosed report, best first.

More from Liberapay

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.