Live data from Hacker News

How I hacked Github again

homakov.blogspot.com

81–90 of 202 posts

Re: How I hacked Github again

#81
Something I don't really understand is why people use github in the first place when it's so easy to set up your own git repos with gitolite.

I understand using github for large open source projects that you want people to freely branch, but it seems the vast majority of accounts are small personal projects and even some small companies.

Re: How I hacked Github again

#82
post #33

Earlier quoted context omitted.

At least in my experience, I donate to groups that do good work but aren't getting paid for it. I wouldn't donate to people who are being paid (quite handsomely, in this case) for their labor. Especially when he's already clarified that GitHub paid him more than he thought his time was worth.

Donate or don't donate, that's your call. But why are you complaining about him asking for a donation? Why try to "shame" him? What is he doing to harm you?

Start-up idea: let Hacker News users pay to berate you for x minutes.

There's a clearly huge market.

Re: How I hacked Github again

#83
post #33

Earlier quoted context omitted.

At least in my experience, I donate to groups that do good work but aren't getting paid for it. I wouldn't donate to people who are being paid (quite handsomely, in this case) for their labor. Especially when he's already clarified that GitHub paid him more than he thought his time was worth.

Donate or don't donate, that's your call. But why are you complaining about him asking for a donation? Why try to "shame" him? What is he doing to harm you?

Not sure why you're viewing my comment with such hostility. I was mistakenly under the impression that most of his work is contracted / bounty. He's already clarified his reason for accepting donations below, and I understand. I just think the placement/wording was less than ideal.

Re: How I hacked Github again

#84
post #7

Earlier quoted context omitted.

According to his website, the minimum time you can buy services for is 8 hours so I'm not sure what he means here.

8 hours at 400$/hour will still only be 3200$ and he can presumably spend the remaining 4-3 hours doing more security analysis with less overhead, so it might still be cheaper to hire him as a consultant.

But they'd have to pay those $3200 without knowing if there were results. They might have to pay dozens of such consultants before one of them found bugs like this. Bug bounties, paid only on successful discoveries, are much cheaper.

Re: How I hacked Github again

#85
post #48

Github uses ruby on rails, which is a pretty mature framework, perhaps covering most of the common security pitfalls. Additionally, I assume github has excellent programmers because of the nature of their job. Could someone explain in simple english, how did they overlook known & well documented bugs that got them hacked (e.g. Bug 3 about cross domain injection). I'm wondering if someone of Github's caliber can be ha…

As briefly as possible? Infosec is hard. Most companies have virtually no security policies. Nobody listens. Black hats are ahead in the arms race and anyone who has decent knowledge (doesn't even have to be anywhere near on a level like Homakov or Zalewski) can pull off all sorts of exploits. Even if they don't strike the application itself, they'll get you through infrastructure that your application relies on. Loo…

> Infosec is hard.

In computer security, you have to get it right every single time. The bad guys only need to get it right once.

Re: How I hacked Github again

#86
post #67

Earlier quoted context omitted.

Completely agree, GitHub private repos are a huge target. Even if you use 2FA, after login it's just a cookie that separates the good from the bad. How could GH improve that? Client-side SSL Certs?

If you're talking about for company projects, the enterprise version of Github is self-hosted (e.g. on a VPN): https://enterprise.github.com/

People shouldn't trust the cloud for important source storage. Always self-host anything you want to keep private.

Re: How I hacked Github again

#87
post #45

How can I start learning about how to identify exploits like this? I know some basics about web application security and work as a software engineer on a day-to-day basis but security has always been a passion of mine and I have always wanted to be able to support myself through working on security alone (by collecting rewards through bounty programs, self-employed security consulting, working at a security consultin…

Like a lot of other things, practice matters. OWASP has some deliberately insecure webapps which are meant to give people practice spotting and exploiting vulnerabilities (WebGoat, RailsGoat, PyGoat, probably others). There are also "capture the flag" competitions of the sort run every so often by Stripe; Matasano currently has one going as well, focused on embedded systems: http://www.matasano.com/matasano-square-mi…

Matasanos CTF is hard. At least I think so, but a good start anyway.

Re: How I hacked Github again

#88
post #82

Earlier quoted context omitted.

Donate or don't donate, that's your call. But why are you complaining about him asking for a donation? Why try to "shame" him? What is he doing to harm you?

Start-up idea: let Hacker News users pay to berate you for x minutes. There's a clearly huge market.

Although you'll have some competition:

http://www.youtube.com/watch?v=kQFKtI6gn9Y

Post reply on HN