OAuth Stealing Attack (New)
Originally disclosed on HackerOne
- Fixed in 22 hours
- Paid in 23 hours
- Disclosed after 31 days
Hi Evan,
I found a new and more dangerous way to steal phabricator facebooks oauth tokens,codes,
In this case, I exploited the behavior of Phabricator OAuth Dialog,
If you provide a differnet scope in phabricator OAuth Dialog (https://secure.phabricator.com/oauthserver/auth/?redirect_uri=http://files.nirgoldshlager.com&response_type=code&client_id=PHID-OASC-oyfqtnanxsukiw5lsnce&scope=ggg) you will be redirected automatically to the attacker site, In this case, I exploited this behavior to exploit the Phabricator Facebook. Disqus OAuth Providers
PoC for Facebook:
PoC for Disques:
ETC...
The user don't need to be login to perform this kind of attack, it works only via one click, no any continue or another intercation, This attack also need to works on other provides in Phabricator via redirect_uri.
PoC Video:
https://drive.google.com/file/d/0B2-5ltUODX1La0Vjc0ZuemMzRTQ/edit?usp=sharing
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 OAuth / SSO bug in Phabricator. HackerOne made it public on 13 April 2014. It paid $400.
About OAuth / SSO
Mistakes in OAuth, OpenID Connect, SAML or token handling that leak codes and tokens or link an attacker's identity to a victim's account.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is OAuth / SSO?
Mistakes in OAuth, OpenID Connect, SAML or token handling that leak codes and tokens or link an attacker's identity to a victim's account.