{"id":"CVE-2024-0391","state":"PUBLISHED","title":"Username Enumeration via Email OTP Flow in Multiple WSO2 Products Allows User Account Discovery","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.\n\nThe 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.","publishedAt":"2026-05-11T08:45:33.754Z","updatedAt":"2026-05-11T12:46:03.691Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"WSO2"},"assigner":"WSO2","products":["WSO2 WSO2 Identity Server","WSO2 WSO2 Open Banking IAM","WSO2 WSO2 Identity Server as Key Manager","WSO2 Email OTP Authenticator","WSO2 WSO2 Carbon Authenticator Library For EmailOTP"],"affected":[{"vendor":"WSO2","product":"WSO2 Identity Server","defaultStatus":"unaffected","versions":[{"version":"0","status":"unknown","lessThan":"5.10.0","versionType":"custom"},{"version":"5.10.0","status":"affected","lessThan":"5.10.0.379","versionType":"custom"},{"version":"5.11.0","status":"affected","lessThan":"5.11.0.426","versionType":"custom"},{"version":"5.11.0","status":"affected","lessThan":"5.11.0.431","versionType":"custom"},{"version":"6.0.0","status":"affected","lessThan":"6.0.0.253","versionType":"custom"},{"version":"6.1.0","status":"affected","lessThan":"6.1.0.254","versionType":"custom"},{"version":"7.0.0","status":"affected","lessThan":"7.0.0.131","versionType":"custom"}]},{"vendor":"WSO2","product":"WSO2 Open Banking IAM","defaultStatus":"unaffected","versions":[{"version":"0","status":"unknown","lessThan":"2.0.0","versionType":"custom"},{"version":"2.0.0","status":"affected","lessThan":"2.0.0.318","versionType":"custom"}]},{"vendor":"WSO2","product":"WSO2 Identity Server as Key Manager","defaultStatus":"unaffected","versions":[{"version":"0","status":"unknown","lessThan":"5.10.0","versionType":"custom"},{"version":"5.10.0","status":"affected","lessThan":"5.10.0.267","versionType":"custom"}]},{"vendor":"WSO2","product":"Email OTP Authenticator","packageName":"org.wso2.carbon.identity.local.auth.emailotp:org.wso2.carbon.identity.local.auth.emailotp","defaultStatus":"unknown","versions":[{"version":"1.0.18","status":"affected","lessThan":"1.0.18.7","versionType":"custom"},{"version":"1.0.24","status":"unaffected","lessThanOrEqual":"*","versionType":"custom"}]},{"vendor":"WSO2","product":"WSO2 Carbon Authenticator Library For EmailOTP","packageName":"org.wso2.carbon.extension.identity.authenticator.outbound.emailotp:org.wso2.carbon.identity.authenticator.emailotp","defaultStatus":"unknown","versions":[{"version":"4.1.0","status":"affected","lessThan":"4.1.0.8","versionType":"custom"},{"version":"4.1.4","status":"affected","lessThan":"4.1.4.9","versionType":"custom"},{"version":"4.1.22","status":"unaffected","lessThanOrEqual":"*","versionType":"custom"}]},{"vendor":"WSO2","product":"WSO2 Carbon Authenticator Library For EmailOTP","packageName":"org.wso2.carbon.extension.identity.authenticator.outbound.emailotp:org.wso2.carbon.extension.identity.authenticator.emailotp.connector","defaultStatus":"unknown","versions":[{"version":"3.0.5","status":"affected","lessThan":"3.0.5.8","versionType":"custom"},{"version":"3.0.24","status":"affected","lessThan":"3.0.24.6","versionType":"custom"},{"version":"3.0.26","status":"affected","lessThan":"3.0.26.16","versionType":"custom"}]}],"references":["https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-3115/"],"weaknesses":["CWE-204"],"ingestedAt":"2026-10-29T20:06:42.242Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/0xxx/CVE-2024-0391.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-0391","state":"PUBLISHED","datePublished":"2026-05-11T08:45:33.754Z","dateUpdated":"2026-05-11T12:46:03.691Z","assignerShortName":"WSO2","assignerOrgId":"ed10eef1-636d-4fbe-9993-6890dfa878f8","dateReserved":"2024-01-10T09:02:14.122Z"},"containers":{"cna":{"title":"Username Enumeration via Email OTP Flow in Multiple WSO2 Products Allows User Account Discovery","descriptions":[{"lang":"en","value":"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.\n\nThe 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":[{"vendor":"WSO2","product":"WSO2 Identity Server","defaultStatus":"unaffected","versions":[{"version":"0","status":"unknown","lessThan":"5.10.0","versionType":"custom"},{"version":"5.10.0","status":"affected","lessThan":"5.10.0.379","versionType":"custom"},{"version":"5.11.0","status":"affected","lessThan":"5.11.0.426","versionType":"custom"},{"version":"5.11.0","status":"affected","lessThan":"5.11.0.431","versionType":"custom"},{"version":"6.0.0","status":"affected","lessThan":"6.0.0.253","versionType":"custom"},{"version":"6.1.0","status":"affected","lessThan":"6.1.0.254","versionType":"custom"},{"version":"7.0.0","status":"affected","lessThan":"7.0.0.131","versionType":"custom"}]},{"vendor":"WSO2","product":"WSO2 Open Banking IAM","defaultStatus":"unaffected","versions":[{"version":"0","status":"unknown","lessThan":"2.0.0","versionType":"custom"},{"version":"2.0.0","status":"affected","lessThan":"2.0.0.318","versionType":"custom"}]},{"vendor":"WSO2","product":"WSO2 Identity Server as Key Manager","defaultStatus":"unaffected","versions":[{"version":"0","status":"unknown","lessThan":"5.10.0","versionType":"custom"},{"version":"5.10.0","status":"affected","lessThan":"5.10.0.267","versionType":"custom"}]},{"vendor":"WSO2","product":"Email OTP Authenticator","packageName":"org.wso2.carbon.identity.local.auth.emailotp:org.wso2.carbon.identity.local.auth.emailotp","defaultStatus":"unknown","versions":[{"version":"1.0.18","status":"affected","lessThan":"1.0.18.7","versionType":"custom"},{"version":"1.0.24","status":"unaffected","lessThanOrEqual":"*","versionType":"custom"}]},{"vendor":"WSO2","product":"WSO2 Carbon Authenticator Library For EmailOTP","packageName":"org.wso2.carbon.extension.identity.authenticator.outbound.emailotp:org.wso2.carbon.identity.authenticator.emailotp","defaultStatus":"unknown","versions":[{"version":"4.1.0","status":"affected","lessThan":"4.1.0.8","versionType":"custom"},{"version":"4.1.4","status":"affected","lessThan":"4.1.4.9","versionType":"custom"},{"version":"4.1.22","status":"unaffected","lessThanOrEqual":"*","versionType":"custom"}]},{"vendor":"WSO2","product":"WSO2 Carbon Authenticator Library For EmailOTP","packageName":"org.wso2.carbon.extension.identity.authenticator.outbound.emailotp:org.wso2.carbon.extension.identity.authenticator.emailotp.connector","defaultStatus":"unknown","versions":[{"version":"3.0.5","status":"affected","lessThan":"3.0.5.8","versionType":"custom"},{"version":"3.0.24","status":"affected","lessThan":"3.0.24.6","versionType":"custom"},{"version":"3.0.26","status":"affected","lessThan":"3.0.26.16","versionType":"custom"}]}],"references":[{"url":"https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-3115/","tags":["vendor-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseSeverity":"MEDIUM","baseScore":5.3,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-204","lang":"en","description":"CWE-204 Observable response discrepancy","type":"CWE"}]}],"providerMetadata":{"shortName":"WSO2","orgId":"ed10eef1-636d-4fbe-9993-6890dfa878f8","dateUpdated":"2026-05-11T08:45:33.754Z"},"impacts":[{"capecId":"CAPEC-249","descriptions":[{"lang":"en","value":"CAPEC-249 CAPEC-249: Inferential Information Gathering"}]}],"cpeApplicability":[{"operator":"OR","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:wso2:wso2_identity_server:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.0","versionEndExcluding":"5.10.0.379"},{"vulnerable":true,"criteria":"cpe:2.3:a:wso2:wso2_identity_server:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11.0","versionEndExcluding":"5.11.0.426"},{"vulnerable":true,"criteria":"cpe:2.3:a:wso2:wso2_identity_server:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11.0","versionEndExcluding":"5.11.0.431"},{"vulnerable":true,"criteria":"cpe:2.3:a:wso2:wso2_identity_server:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0.0","versionEndExcluding":"6.0.0.253"},{"vulnerable":true,"criteria":"cpe:2.3:a:wso2:wso2_identity_server:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.0","versionEndExcluding":"6.1.0.254"},{"vulnerable":true,"criteria":"cpe:2.3:a:wso2:wso2_identity_server:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0.0","versionEndExcluding":"7.0.0.131"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:wso2:wso2_open_banking_iam:*:*:*:*:*:*:*:*","versionStartIncluding":"2.0.0","versionEndExcluding":"2.0.0.318"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:wso2:wso2_identity_server_as_key_manager:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.0","versionEndExcluding":"5.10.0.267"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:wso2:email_otp_authenticator:*:*:*:*:*:*:*:*","versionStartIncluding":"1.0.18","versionEndExcluding":"1.0.18.7"},{"vulnerable":false,"criteria":"cpe:2.3:a:wso2:email_otp_authenticator:*:*:*:*:*:*:*:*","versionStartIncluding":"1.0.24","versionEndIncluding":"*"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:wso2:wso2_carbon_authenticator_library_for_emailotp:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1.0","versionEndExcluding":"4.1.0.8"},{"vulnerable":true,"criteria":"cpe:2.3:a:wso2:wso2_carbon_authenticator_library_for_emailotp:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1.4","versionEndExcluding":"4.1.4.9"},{"vulnerable":false,"criteria":"cpe:2.3:a:wso2:wso2_carbon_authenticator_library_for_emailotp:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1.22","versionEndIncluding":"*"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:wso2:wso2_carbon_authenticator_library_for_emailotp:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0.5","versionEndExcluding":"3.0.5.8"},{"vulnerable":true,"criteria":"cpe:2.3:a:wso2:wso2_carbon_authenticator_library_for_emailotp:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0.24","versionEndExcluding":"3.0.24.6"},{"vulnerable":true,"criteria":"cpe:2.3:a:wso2:wso2_carbon_authenticator_library_for_emailotp:*:*:*:*:*:*:*:*","versionStartIncluding":"3.0.26","versionEndExcluding":"3.0.26.16"}]}]}],"solutions":[{"lang":"en","value":"Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-3115/#solution","supportingMedia":[{"type":"text/html","base64":false,"value":"<span style=\"background-color: transparent;\">Follow the instructions given on </span><a target=\"_blank\" rel=\"nofollow\" href=\"https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-3115/#solution\"><span style=\"background-color: transparent;\">https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2024-3115/#solution</span></a> <br>"}]}],"source":{"advisory":"WSO2-2024-3115","discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-11T12:45:51.278289Z","id":"CVE-2024-0391","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-11T12:46:03.691Z"}}]}}}