Google just paid a $90,000 bounty for this vulnerability
Transcript
Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.
Google just paid a bug bounty hunter $90,000 for finding a way to send its developer website a fake cookie that made Google server run code. Simon Kowik, and I really hope I'm saying your name right, was looking at the site's sign-in process when Google sent its browser a cookie. A cookie is just data a website stores in your browser, which your browser sends back on later request. Google signed this one so it could tell if anyone had changed it. Simon noticed that Well, Simon noticed that this one was unusually large, so he decoded it and noticed that inside was a secret and it was the same exact secret that Google used to sign the cookie. So, Google had given him the key it used to check whether the cookies were real.
Simon could make his own cookie, sign in with that key, and Google would just accept it. And I know what you're asking, how does a fake cookie become code execution? Well, Google used Python's pickle module to unpack part of the cookie. A crafted pickle can tell Python to call a function while it loads, and that function could pause the server or even worse, could run a system command. Well, Simon chose the harmless version. He put a function called time.sleep in his forged cookie, and on separate request, he asked Google servers to pause for 3 seconds, then 5 seconds, then 8. And each response took roughly that long. He didn't run any shell commands on Google servers, the delays were just enough to demonstrate the issue. He reported it, Google fixed it, and the crazy thing is that the signing key had also worked on several other Google developer sites, which makes me think AI might be able to help you hack or build, but this started with someone noticing a weird cookie and refusing to ignore it. I still don't think AI replaces that kind of attention to detail, and that's why





