CVE-2024-0391

Username Enumeration via Email OTP Flow in Multiple WSO2 Products Allows User Account Discovery

5.3 medium EPSS 0.18%

Published 11 May 2026 Updated 11 May 2026 CNA: WSO2

Check your servers for CVE-2024-0391

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-0391 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

5.3 medium CVSS 3.1 from WSO2 (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality low, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.36% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 11 May 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
partial: limited control or limited data

Weakness

  • CWE-204 Observable Response Discrepancy

Affected products

As the CNA lists them.

ProductVersions
WSO2 Identity Server
unknown before 5.10.0
affected from 5.10.0, before 5.10.0.379
affected from 5.11.0, before 5.11.0.426
affected from 5.11.0, before 5.11.0.431
affected from 6.0.0, before 6.0.0.253
affected from 6.1.0, before 6.1.0.254
affected from 7.0.0, before 7.0.0.131
Other versions: unaffected
WSO2 Open Banking IAM
unknown before 2.0.0
affected from 2.0.0, before 2.0.0.318
Other versions: unaffected
WSO2 Identity Server as Key Manager
unknown before 5.10.0
affected from 5.10.0, before 5.10.0.267
Other versions: unaffected
Email OTP Authenticator
package org.wso2.carbon.identity.local.auth.emailotp:org.wso2.carbon.identity.local.auth.emailotp
affected from 1.0.18, before 1.0.18.7
unaffected 1.0.24 and later
Other versions: unknown
WSO2 Carbon Authenticator Library For EmailOTP
package org.wso2.carbon.extension.identity.authenticator.outbound.emailotp:org.wso2.carbon.identity.authenticator.emailotp
affected from 4.1.0, before 4.1.0.8
affected from 4.1.4, before 4.1.4.9
unaffected 4.1.22 and later
Other versions: unknown
WSO2 Carbon Authenticator Library For EmailOTP
package org.wso2.carbon.extension.identity.authenticator.outbound.emailotp:org.wso2.carbon.extension.identity.authenticator.e…
affected from 3.0.5, before 3.0.5.8
affected from 3.0.24, before 3.0.24.6
affected from 3.0.26, before 3.0.26.16
Other versions: unknown

Is my server affected?

Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2024-0391 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2024-0391

RHEL, Rocky, Alma, Fedora

rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-0391

Alpine

apk list --installed | grep -i PACKAGE

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-0391
trivy image --scanners vuln IMAGE | grep CVE-2024-0391

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Source: the record CVE-2024-0391 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.