Live data from Hacker News

Hacking Github with Webkit

homakov.blogspot.com

11–20 of 82 posts

Re: Hacking Github with Webkit

#11
> Custom JS on your subdomains is a bad idea

What is the difference between allowing users to put custom JS on a subdomain, vs. someone just opening up the developer console and running whatever JS they like? Does JS loaded from the server have different privileges to JS entered at the console?

Re: Hacking Github with Webkit

#12
post #9

Oops, looks like my tweet (the "open-source GitHub") got a bit more famous than I thought. I feel I must write a big disclaimer here: I was just joking and would never actually exploit someone that would do so much damage. I was merely commenting on the irony of leaking GitHub on GitHub. Don't fucking do this. It's not fun.

Another big disclaimer:

I didn't clone github/github, steps are theoretical

Re: Hacking Github with Webkit

#13
post #7
post #4

Earlier quoted context omitted.

yeah. i don't sell exploits yet. Facebook, stripe, shopify, skrill - they treat a reporter nicely.

Any reason why you would even consider selling exploits? Do you not get compensated well from other ventures?

I can only buy some beer and snacks for this compensation

Re: Hacking Github with Webkit

#14

> Custom JS on your subdomains is a bad idea What is the difference between allowing users to put custom JS on a subdomain, vs. someone just opening up the developer console and running whatever JS they like? Does JS loaded from the server have different privileges to JS entered at the console?

[deleted]

Re: Hacking Github with Webkit

#15

> Custom JS on your subdomains is a bad idea What is the difference between allowing users to put custom JS on a subdomain, vs. someone just opening up the developer console and running whatever JS they like? Does JS loaded from the server have different privileges to JS entered at the console?

no difference. but running XSS in console is shooting your leg

Re: Hacking Github with Webkit

#16

> Custom JS on your subdomains is a bad idea What is the difference between allowing users to put custom JS on a subdomain, vs. someone just opening up the developer console and running whatever JS they like? Does JS loaded from the server have different privileges to JS entered at the console?

The difference is, I can put custom JS on my Github page and send you a link, when you open it you run code I authored. Developer console is just me running code, and is also on any arbitrary domain on any site.

Re: Hacking Github with Webkit

#17
post #7
post #4

Earlier quoted context omitted.

yeah. i don't sell exploits yet. Facebook, stripe, shopify, skrill - they treat a reporter nicely.

Any reason why you would even consider selling exploits? Do you not get compensated well from other ventures?

JUST WONDER,

how much would someone pay for this vuln? We can discuss it... homakov@gmail.com

Re: Hacking Github with Webkit

#18
I am not an expert in security but when I started using github pages a week ago. When I realized I could put any Javascript on the github.com domain I thought: good luck with making this secure.

Re: Hacking Github with Webkit

#19
post #18

I am not an expert in security but when I started using github pages a week ago. When I realized I could put any Javascript on the github.com domain I thought: good luck with making this secure.

there is no way to make it secure, lol :D
Post reply on HN