CVE-2024-0391 Username Enumeration via Email OTP Flow in Multiple WSO2 Products Allows User Account Discovery
Attackers can enumerate valid user accounts via the email OTP flow, facilitating targeted phishing and brute-force attacks against WSO2 Identity Server deployments.
- 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-0391?
CVE-2024-0391 is a medium-severity vulnerability in Wso2 Identity Server, published on 11 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-204
Which versions are affected by CVE-2024-0391?
It affects 3 products.
Products include Wso2 Identity Server, Wso2 Identity Server as Key Manager, Wso2 Open Banking Iam.
How do I fix CVE-2024-0391?
No fix has been published for CVE-2024-0391 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-0391 being exploited?
There is no known exploitation of CVE-2024-0391 in the wild and no public exploit code.
Other vulnerabilities in Wso2 Identity Server
- CVE-2016-4311 Cross-site request forgery in n/a
- CVE-2025-10470 Denial-of-Service via Magic Link Authentication in WSO2 Identity Server Allows Service Unavailability
- CVE-2025-12107 Server-Side Template Injection via Velocity Template Engine in Multiple WSO2 Products Allows Remote Code Execution
- CVE-2016-4312 XML external entity in n/a
- CVE-2025-10908 Account Lock Bypass via Magic Link or Pass Key Authentication in WSO2 Identity Server Allows Unauthorized Access
Sources
Also known as GHSA-r9x2-mg2v-mq96.