CVE-2025-13166

Username Enumeration via SMS OTP Flow in WSO2 Identity Server Allows User Account Discovery

Published Sep 15, 2026 CVSS 3.1 · 3.7 Low EPSS < 1% KEV · Not listed
Description
The SMS OTP flow fails to adequately handle error messages, allowing an attacker to infer the existence of registered user accounts based on the responses received during the OTP initiation process.

This weakness can be exploited by an attacker to discover valid usernames within the system. The impact is amplified for accounts that have not configured a mobile number, as the enumeration is specifically tied to this condition. The discovery of these usernames can facilitate subsequent brute force attacks, social engineering attempts, and information leakage, potentially leading to reputational damage, loss of customer trust, and regulatory non-compliance.

Analysis

AI-generated

Technical impact

The SMS one‑time‑password flow in WSO2 Identity Server fails to properly handle error messages during OTP initiation, allowing an attacker to determine system. This discovery provides a foothold for further attacks, such as brute‑force credential attempts and social engineering, which can.

Affected Systems

The affected product is WSO2 Identity Server. No specific version information is provided in the advisory, so all versions of the product may be impacted until a fix is released.

Risk and Exploitability

The CVSS score of 3.7 indicates a low impact to confidentiality, integrity, and availability. The EPSS score of less than 1% suggests a very low probability that the vulnerability will be actively exploited. The advisory notes that the vulnerability is not listed in the CISA KeV catalog. Based on the description, the likely attack vector is remote access to the SMS OTP API endpoint, which an unauthenticated attacker could use to trigger identification responses. An attacker would exploit the server’s inconsistent replies to infer does not provide a direct means to gain further privileges, the overall risk to a single system is low, but the enumeration can facilitate future credential‑guessing campaigns.

Remediation

Vendor Solution

Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4353/#solution


OpenCVE Recommended Actions

  • Apply the patch or upgrade WSO2 Identity ServerSO2 security advisory
  • Enforce mobile‑number registration before enabling SMS OTP or temporarily disable OTP for accounts lacking a registered phone number
  • Implement rate limiting and monitoring on the OTP initiation endpoint to detect and mitigate enumeration attempts

Generated by OpenCVE AI on September 17, 2026 at 17:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:wso2:wso2_identity_server:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wso2
Wso2 wso2 Identity Server
Vendors & Products Wso2
Wso2 wso2 Identity Server
Type Values Removed Values Added
Description The SMS OTP flow fails to adequately handle error messages, allowing an attacker to infer the existence of registered user accounts based on the responses received during the OTP initiation process. This weakness can be exploited by an attacker to discover valid usernames within the system. The impact is amplified for accounts that have not configured a mobile number, as the enumeration is specifically tied to this condition. The discovery of these usernames can facilitate subsequent brute force attacks, social engineering attempts, and information leakage, potentially leading to reputational damage, loss of customer trust, and regulatory non-compliance.
Title Username Enumeration via SMS OTP Flow in WSO2 Identity Server Allows User Account Discovery
Weaknesses CWE-203
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
WSO2
Published
Updated
Sep 15, 2026, 10:15 PM
Reserved
Nov 14, 2025, 6:00 AM
Status
Deferred
Published
Sep 15, 2026, 10:17 AM
Modified
Oct 14, 2026, 7:10 PM