Skip to main content

CVE-2024-8122: CWE-613: Insufficient Session Expiration in WSO2 WSO2 Identity Server

0
Medium
VulnerabilityCVE-2024-8122cvecve-2024-8122cwe-613
Published: 10/08/2026 (10/08/2026, 00:09:52 UTC)
Source: CVE Database V5
Vendor/Project: WSO2
Product: WSO2 Identity Server

Description

CVE-2024-8122 is a vulnerability in WSO2 Identity Server where SMS One-Time Passwords (OTPs) used in multi-factor authentication (MFA) do not have a default expiry time. This flaw allows unused OTPs to remain valid indefinitely, enabling attackers to perform brute force attacks by repeatedly guessing OTPs. Successful exploitation can lead to MFA bypass and unauthorized account takeover, compromising user and system security.

CVSS v3.1

Score 5.9medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected software

WSO2

WSO2 Identity Server

Affected versions
>=5.11.0 <5.11.0.372>=6.0.0 <6.0.0.227>=6.1.0 <6.1.0.219
org.wso2.identity/wso2-identity-server
pkg:maven/org.wso2.identity/wso2-identity-server
Affected versions
>=5.11.0 <5.11.0.372>=6.0.0 <6.0.0.227>=6.1.0 <6.1.0.219

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/08/2026, 01:33:28 UTC

Technical Analysis

The WSO2 Identity Server fails to enforce automatic expiration for SMS OTPs in MFA, resulting in OTPs that remain valid indefinitely if unused. This insufficient session expiration (CWE-613) allows attackers unlimited time to guess OTPs via brute force. The vulnerability affects versions >=5.11.0 <5.11.0.372, >=6.0.0 <6.0.0.227, and >=6.1.0 <6.1.0.219. The CVSS 3.1 base score is 5.9 (medium severity), with network attack vector, high attack complexity, no privileges or user interaction required, and high confidentiality impact but no integrity or availability impact. No known exploits in the wild or vendor patch links are provided.

Potential Impact

The vulnerability allows attackers to bypass MFA by brute forcing SMS OTPs that do not expire, potentially leading to unauthorized account access and compromising confidentiality of user accounts. There is no reported impact on integrity or availability. The medium CVSS score reflects the moderate risk due to high attack complexity and no required privileges or user interaction.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, organizations should consider additional compensating controls such as enforcing manual OTP expiration policies if configurable, monitoring for suspicious authentication attempts, or using alternative MFA methods with enforced expiration. No official patch or temporary fix information is provided in the input data.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
WSO2
Date Reserved
2024-08-23T14:52:53.493Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ac6ef842cdf04f656b74225

Added to database: 10/08/2026, 01:19:00 UTC

Last enriched: 10/08/2026, 01:33:28 UTC

Last updated: 10/08/2026, 01:33:28 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses