CVE-2024-0391
Username Enumeration via Email OTP Flow in Multiple WSO2 Products Allows User Account Discovery
Mitigation
- Upgrade WSO2 Identity Server to 7.0.0.131 or later.
- Upgrade WSO2 Open Banking IAM to 2.0.0.318 or later.
- Upgrade WSO2 Identity Server as Key Manager to 5.10.0.267 or later.
- Upgrade Email OTP Authenticator to 1.0.18.7 or later.
- Upgrade WSO2 Carbon Authenticator Library For EmailOTP to 4.1.4.9 or later.
- Upgrade WSO2 Carbon Authenticator Library For EmailOTP to 3.0.26.16 or later.
Who should check
- Anyone running WSO2 Identity Server >= 5.10.0, < 5.10.0.379; >= 5.11.0, < 5.11.0.426; >= 5.11.0, < 5.11.0.431; >= 6.0.0, < 6.0.0.253; >= 6.1.0, < 6.1.0.254; >= 7.0.0, < 7.0.0.131
- Anyone running WSO2 Open Banking IAM >= 2.0.0, < 2.0.0.318
- Anyone running WSO2 Identity Server as Key Manager >= 5.10.0, < 5.10.0.267
- Anyone running WSO2 Email OTP Authenticator >= 1.0.18, < 1.0.18.7
- Anyone running WSO2 Carbon Authenticator Library For EmailOTP >= 4.1.0, < 4.1.0.8; >= 4.1.4, < 4.1.4.9
- Anyone running WSO2 Carbon Authenticator Library For EmailOTP >= 3.0.5, < 3.0.5.8; >= 3.0.24, < 3.0.24.6; >= 3.0.26, < 3.0.26.16
Vulnerability facts
- Affected
- WSO2 Identity Server >= 5.10.0, < 5.10.0.379; >= 5.11.0, < 5.11.0.426; >= 5.11.0, < 5.11.0.431; >= 6.0.0, < 6.0.0.253; >= 6.1.0, < 6.1.0.254; >= 7.0.0, < 7.0.0.131; WSO2 Open Banking IAM >= 2.0.0, < 2.0.0.318; WSO2 Identity Server as Key Manager >= 5.10.0, < 5.10.0.267; WSO2 Email OTP Authenticator >= 1.0.18, < 1.0.18.7; WSO2 Carbon Authenticator Library For EmailOTP >= 4.1.0, < 4.1.0.8; >= 4.1.4, < 4.1.4.9; WSO2 Carbon Authenticator Library For EmailOTP >= 3.0.5, < 3.0.5.8; >= 3.0.24, < 3.0.24.6; >= 3.0.26, < 3.0.26.16
- Fixed in
- WSO2 Identity Server 5.10.0.379, WSO2 Identity Server 5.11.0.426, WSO2 Identity Server 5.11.0.431, WSO2 Identity Server 6.0.0.253, WSO2 Identity Server 6.1.0.254, WSO2 Identity Server 7.0.0.131, WSO2 Open Banking IAM 2.0.0.318, WSO2 Identity Server as Key Manager 5.10.0.267, WSO2 Email OTP Authenticator 1.0.18.7, WSO2 Carbon Authenticator Library For EmailOTP 4.1.0.8, WSO2 Carbon Authenticator Library For EmailOTP 4.1.4.9, WSO2 Carbon Authenticator Library For EmailOTP 3.0.5.8, WSO2 Carbon Authenticator Library For EmailOTP 3.0.24.6, WSO2 Carbon Authenticator Library For EmailOTP 3.0.26.16
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-204
- Modified
Description
The check user account lock states feature within the email OTP flow fails to validate user input, allowing an attacker to infer the existence of registered user accounts. The discovery of valid usernames can increase the risk of brute-force and social engineering attacks. Attackers can leverage this information to craft targeted phishing campaigns or other malicious activities aimed at tricking users into divulging sensitive data, potentially damaging the organization's reputation and leading to regulatory non-compliance and financial consequences.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| WSO2 Identity Server | >= 5.10.0, < 5.10.0.379; >= 5.11.0, < 5.11.0.426; >= 5.11.0, < 5.11.0.431; >= 6.0.0, < 6.0.0.253; >= 6.1.0, < 6.1.0.254; >= 7.0.0, < 7.0.0.131 | — | cvelist |
| WSO2 Open Banking IAM | >= 2.0.0, < 2.0.0.318 | — | cvelist |
| WSO2 Identity Server as Key Manager | >= 5.10.0, < 5.10.0.267 | — | cvelist |
| WSO2 Email OTP Authenticator | >= 1.0.18, < 1.0.18.7 | — | cvelist |
| WSO2 Carbon Authenticator Library For EmailOTP | >= 4.1.0, < 4.1.0.8; >= 4.1.4, < 4.1.4.9 | — | cvelist |
| WSO2 Carbon Authenticator Library For EmailOTP | >= 3.0.5, < 3.0.5.8; >= 3.0.24, < 3.0.24.6; >= 3.0.26, < 3.0.26.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-0391. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-0391.md Affected: WSO2 Identity Server >= 5.10.0, < 5.10.0.379; >= 5.11.0, < 5.11.0.426; >= 5.11.0, < 5.11.0.431; >= 6.0.0, < 6.0.0.253; >= 6.1.0, < 6.1.0.254; >= 7.0.0, < 7.0.0.131; WSO2 Open Banking IAM >= 2.0.0, < 2.0.0.318; WSO2 Identity Server as Key Manager >= 5.10.0, < 5.10.0.267; WSO2 Email OTP Authenticator… Fixed in: WSO2 Identity Server 5.10.0.379, WSO2 Identity Server 5.11.0.426, WSO2 Identity Server 5.11.0.431, WSO2 Identity Server 6.0.0.253, WSO2 Identity Server 6.1.0.254, WSO2 Identity Server 7.0.0.131, WSO2 Open Banking IAM 2.0.0.318, WSO2 Identity Server as Key Manager 5.10.0.267, WSO2 Email OTP Authenti… Steps: 1. Search this machine and project for WSO2 Identity Server, WSO2 Open Banking IAM, WSO2 Identity Server as Key Manager, WSO2 Email OTP Authenticator, WSO2 Carbon Authenticator Library For EmailOTP: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2024-0391 being exploited?
There is no confirmed exploitation: CVE-2024-0391 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-0391?
Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2024-0391?
WSO2 Identity Server >= 5.10.0, < 5.10.0.379; >= 5.11.0, < 5.11.0.426; >= 5.11.0, < 5.11.0.431; >= 6.0.0, < 6.0.0.253; >= 6.1.0, < 6.1.0.254; >= 7.0.0, < 7.0.0.131; WSO2 Open Banking IAM >= 2.0.0, < 2.0.0.318; WSO2 Identity Server as Key Manager >= 5.10.0, < 5.10.0.267; WSO2 Email OTP Authenticator >= 1.0.18, < 1.0.18.7; WSO2 Carbon Authenticator Library For EmailOTP >= 4.1.0, < 4.1.0.8; >= 4.1.4, < 4.1.4.9; WSO2 Carbon Authenticator Library For EmailOTP >= 3.0.5, < 3.0.5.8; >= 3.0.24, < 3.0.24.6; >= 3.0.26, < 3.0.26.16.
Is there a fix for CVE-2024-0391?
Yes. Fixed in WSO2 Identity Server 5.10.0.379, WSO2 Identity Server 5.11.0.426, WSO2 Identity Server 5.11.0.431, WSO2 Identity Server 6.0.0.253, WSO2 Identity Server 6.1.0.254, WSO2 Identity Server 7.0.0.131, WSO2 Open Banking IAM 2.0.0.318, WSO2 Identity Server as Key Manager 5.10.0.267, WSO2 Email OTP Authenticator 1.0.18.7, WSO2 Carbon Authenticator Library For EmailOTP 4.1.0.8, WSO2 Carbon Authenticator Library For EmailOTP 4.1.4.9, WSO2 Carbon Authenticator Library For EmailOTP 3.0.5.8, WSO2 Carbon Authenticator Library For EmailOTP 3.0.24.6, WSO2 Carbon Authenticator Library For EmailOTP 3.0.26.16. Upgrade WSO2 Identity Server to 7.0.0.131 or later. Upgrade WSO2 Open Banking IAM to 2.0.0.318 or later. Upgrade WSO2 Identity Server as Key Manager to 5.10.0.267 or later. Upgrade Email OTP Authenticator to 1.0.18.7 or later. Upgrade WSO2 Carbon Authenticator Library For EmailOTP to 4.1.4.9 or later. Upgrade WSO2 Carbon Authenticator Library For EmailOTP to 3.0.26.16 or later.
How do I check if I'm affected by CVE-2024-0391?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.