topic
#randomness
-
/01
Math.random() Is Not a Secret: How Predictable Randomness Forged Admin Sessions
Rejetto HFS built its session-cookie signing key from Math.random() and then handed outputs from the same generator to anyone who tried to log in. Attackers collected a few responses, rebuilt the generator's state, and forged administrator sessions — a clean lesson in why 'random-looking' is not the same as secret.
→