4 ms·
How I hacked unverified Facebook accounts
- rhgraysonii 12y agoI love seeing posts like this that go into the blackhat but executed properly sort of things. The fact you exposed it, went through the bounty program, and shared the knowledge is great. It just continues to give insight into other firms as to how they can prevent such burning issues. Great post, thanks :)
- Abhibandu 12y agoThanks for the appreciation mate!
- grecy 12y agoI'm surprised they didn't have some kind of request throttling to stop you trying 100 codes a second.
- Abhibandu 12y agoExactly, mate!
- ecesena 12y agoCould you elaborate on the countermeasures taken? The takeaway seems to be: 1. rate limit the "verify you email" requests, and 2. have enough entropy for the activation codes. Another possibility is also not to log the user in after successful activation (i.e., mark the email as active, but don't give access to the account), but I've never seen anyone behaving like this. Moreover, sensitive operations, like changing settings or deleting the account, should be password-protected (so that, even if logged in, the attacker couldn't damage too much). Anything else that I'm missing?
- Abhibandu 12y agoKindly refer to the comments in the post itself.
- dror 12y ago1. Codes should be like passwords. If they're guessable, they're no good. 2. All operations, including signing in, verifying the account, etc should be rate shaped. The more you try, the longer you have to wait till you can try again.
- Abhibandu 12y agoand it was missing on facebook. That was the issue
- kevinwang 12y agoHow did you delete accounts by confirming their email address?
- Abhibandu 12y agoattacker gets hold of the account associated with the email. If you associated an email with another account, the existing account was deleted
- pearjuice 12y agoWhat's so secret about the value of the bounty that it has to be spoilered?
- Abhibandu 12y agoPrivacy issues. :)
- lucb1e 12y agoAttempted to comment but it just clears the form without doing anything it seems (perhaps stuck in mod queue? If so, it's invisible). What I wanted to ask is what info Facebook wants from you before paying out, besides your Paypal email address of course.
- Abhibandu 12y agoYou need to fill fw8ben form. (Your name, permanent address, etc. is in the form)
- Marshall-scales 12y agodon't know but it must be bad coz everyone wants money these days
- Abhibandu 12y agoIs "wanting money" bad? Or the write up is bad? OR the humanity is bad? Please make yourself clearer!
- vrikis 12y agoI really don't get this... Maybe I'm just not clever enough, but this is referring to verification of the email address, right? I wonder how many users don't ever verify their email address though... Couldn't facebook instead just make you verify it? i.e. not allow / limit use of service until you've verified your email address?
- nikcub 12y agoyou can replace your python code with: $ seq -w -s "\n" 99999 > outfile.txt also, burp has a generator built into the intruder to create these types of payloads. it is very powerful.