4 ms·
How could someone forge a cookie after stealing the source code? Did yahoo use a hardcoded private key in the code? Then any developer at yahoo could have broke
by cm2187 10y ago
How could someone forge a cookie after stealing the source code? Did yahoo use a hardcoded private key in the code? Then any developer at yahoo could have broken into an account. That cannot be right.
- Buge 10y agoMaybe the cookie generation had some sort of vulnerability (such as length extension) and looking at the source code helped attackers locate it and exploit it.
- street 10y agoYup, perhaps they put the username of the logged in user in an encrypted/signed cookie, and the private key was in the source code.
- niftich 10y agoIt doesn't answer your question precisely, but I asked a similar (albeit more incredulous) question a few months back [1] and got a thread full of educated speculation from current and former Yahoo devs. [1] https://news.ycombinator.com/item?id=13180234 https://news.ycombinator.com/item?id=13180234