Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| rejetto / hfs | affected 3.0.0 before 3.2.1 |
CWE
CWE-338
References
- https://github.com/rejetto/hfs/releases/tag/v3.2.1
- https://www.vulncheck.com/advisories/rejetto-hfs-session-forgery-via-predictable-signing-key
ADP enrichment
No English description supplied.
No references supplied.