CVE-2024-8122 Potential brute force vulnerability due to non-expiring SMS OTPs
Attackers can bypass MFA and take over accounts by brute-forcing SMS OTPs that lack default expiration times in WSO2 Identity Server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-8122?
CVE-2024-8122 is a medium-severity vulnerability in WSO2 Identity Server, published on 8 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The WSO2 Identity Server fails to enforce a default expiry time for SMS One-Time Passwords (OTPs) used in multi-factor authentication (MFA). This allows unused OTPs to remain valid indefinitely, presenting an opportunity for malicious actors to conduct brute force attacks by repeatedly guessing the OTP.
The absence of automatic expiration for OTPs grants attackers an unlimited timeframe to attempt guessing the correct code. A successful brute force attack can lead to an MFA bypass, resulting in the unauthorized takeover of a user's account and compromising the security and privacy of both the individual and the system.
Weakness: CWE-613
Which versions are affected by CVE-2024-8122?
How do I fix CVE-2024-8122?
No fix has been published for CVE-2024-8122 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-8122 being exploited?
There is no known exploitation of CVE-2024-8122 in the wild and no public exploit code.
Sources
Also known as GHSA-jj5j-4f68-3g72.