News for hackers. Stuff that matters.
Re:China's Man-On-the-Side Attack on GitHub by jonny_eh on Tuesday March 31, 2015 @02:31AM (#9294678)
Github wouldn't get baidu's cookies since they're different domains.
Re:China's Man-On-the-Side Attack on GitHub by eloisant on Tuesday March 31, 2015 @03:43AM (#9294856)
They could if they put code to read cookies in JS and send them home in the JS included in people's pages.
Re:China's Man-On-the-Side Attack on GitHub by jonny_eh on Tuesday March 31, 2015 @04:14AM (#9294934)
Good point, all the more reason page authors should use httpOnly cookies: https://www.owasp.org/index.php/HttpOnly