Insecure Randomness in Caddy Security Could Lead to OAuth Replay Attacks and MFA Secret Exposure
CVE-2024-21495
Key Information:
- Vendor
- CVE Published:
- 17 February 2024
What is CVE-2024-21495?
The Caddy Security package by Greenpau before version 1.0.42 introduces vulnerabilities due to the use of an insecure random number generation library. Attackers could exploit predictable nonce values used in the OAuth authentication flow, making it possible to conduct OAuth replay attacks. Furthermore, the insecure randomness also affects the generation of multifactor authentication (MFA) secrets and API keys stored in the database, potentially compromising the security of users and their authentication processes.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
github.com/greenpau/caddy-security 0 < 1.0.42
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved
