Description (CNA)
WireGuard Easy through 15.3.0, fixed in commit 66b292b, contains a cryptographically weak one-time link token generation vulnerability that allows unauthenticated network attackers to recover WireGuard peer credentials by brute-forcing a keyspace of at most 1000 candidate tokens per client ID, as the token is computed using CRC32 over a random value constrained to 0-999. Attackers can enumerate candidate tokens against the unauthenticated /cnf/:oneTimeLink route, which lacks rate limiting and does not validate token expiration, to obtain a peer's PrivateKey and PresharedKey and impersonate that peer on the VPN network.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| wg-easy / wg-easy | affected 0 through 15.3.0; unaffected 66b292b11bde3664f05ffb016c8082665d261ded |
CWE
CWE-338, CWE-613
References
- https://github.com/wg-easy/wg-easy/pull/2661
- https://github.com/wg-easy/wg-easy/commit/66b292b11bde3664f05ffb016c8082665d261ded
- https://www.vulncheck.com/advisories/wireguard-easy-weak-token-generation-information-disclosure-via-otl-route
ADP enrichment
No English description supplied.
No references supplied.