CVE-2024-8122

Potential brute force vulnerability due to non-expiring SMS OTPs

State
Published
Severity
5.9 Medium
Published
Oct 8, 2026
Updated
Oct 8, 2026
Reserved
Aug 23, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NWSO2

Weaknesses

  • CWE-613 Insufficient Session Expiration

Affected Products

ProductVersions
WSO2 Identity ServerWSO2
  • before 5.11.0Unknown
  • 5.11.0 to before 5.11.0.372Affected
  • 6.0.0 to before 6.0.0.227Affected
  • 6.1.0 to before 6.1.0.219Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.