Earlier quoted context omitted.
JS CSS HTML are very mixed in each other. It is very hard to allow only CSS/HTML.
May I recommend https://js-quasis-libraries-and-repl.googlecode.com/svn/trun... as a good read. It examines a system that can safely escape content based on its context, and forms the basis of one of the template packages of Go.
Hacking Github with Webkit
41–50 of 82 posts
Re: Hacking Github with Webkit
#42Earlier quoted context omitted.
JS CSS HTML are very mixed in each other. It is very hard to allow only CSS/HTML.
May I recommend https://js-quasis-libraries-and-repl.googlecode.com/svn/trun... as a good read. It examines a system that can safely escape content based on its context, and forms the basis of one of the template packages of Go.
Re: Hacking Github with Webkit
#43"I reported the fixation issue privately only because I'm a good guy and was in a good mood." I for one am glad that Homakov decided to share and write about these security issues rather than just selling it to the highest bidder. I have learned quite a bit over the past year. And it's deplorable that Github isn't paying anything.
Just because a bounty policy isn't disclosed doesn't mean it doesn't exist.
Re: Hacking Github with Webkit
#44Re: Hacking Github with Webkit
#45Re: Hacking Github with Webkit
#46Earlier quoted context omitted.
I've reported several vulnerabilities to GitHub. There is no bounty policy.
yeah +1. @joernchen also did I remember. And lots of other people. Hey, anyone, is github that super profitable company with 100mln investments ? They got no money or what?
Re: Hacking Github with Webkit
#47Earlier quoted context omitted.
yeah +1. @joernchen also did I remember. And lots of other people. Hey, anyone, is github that super profitable company with 100mln investments ? They got no money or what?
I guess people disclose enough vulns voluntarily that they don't need to offer a bounty as an incentive.
Re: Hacking Github with Webkit
#48Wouldn't a solution be for the server to set its session cookie for every subdomain, as HTTP-only? For example, set "_gh_sess" for every requesting domain, whether www.github.com, github.com, something.github.com; and ".github.com" as well. If you hit them all, you prevent js from shadowing them.
Re: Hacking Github with Webkit
#49Re: Hacking Github with Webkit
#50What a load of crap. The chances that github doesn't call reset_session are zero which means this doesn't work.