All vulnerabilities
CVE-2024-8122

WSO2 Identity Server: Potential brute force vulnerability due to non-expiring SMS OTPs

WSO2 WSO2 Identity Server
CVSS
5.9Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.25%Chance of exploitation activity in the next 30 days, higher than 16% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in5.11.0.372Also 6.0.0.227, 6.1.0.219CVE List
Published8 Oct 2026Updated 8 Oct 2026CVE List

What fixes it

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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.

Text from CVE List

Affected versions 4

  • WSO2 Identity Serverunknown: all versions before 5.11.0CVE List
  • WSO2 Identity Serveraffected: 5.11.0 before 5.11.0.372CVE List
  • WSO2 Identity Serveraffected: 6.0.0 before 6.0.0.227CVE List
  • WSO2 Identity Serveraffected: 6.1.0 before 6.1.0.219CVE List

References 1