Description
Rejetto HFS 3.0.0 through 3.2.0 derives its session-cookie signing key from the non-cryptographic Math.random() generator and discloses outputs of the same generator to unauthenticated clients during login. A remote attacker can collect a small number of login responses, reconstruct the generator's state, recover the signing key, and forge a valid administrator session cookie, leading to full administrative access and remote code execution via the server_code configuration feature.
Problem types
Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Product status
3.0.0 (semver) before 3.2.1
Credits
Zach Hanley (@hacks_zach) of Horizon3.ai, in collaboration with Claude and Anthropic Research
References
github.com/rejetto/hfs/releases/tag/v3.2.1 (hfs v3.2.1 Release Notes)
www.vulncheck.com/...ion-forgery-via-predictable-signing-key