CVE-2024-8995: CWE-613: Insufficient Session Expiration in WSO2 WSO2 API Manager
Unused authorization codes issued to deleted users are not being properly invalidated or removed from the system. This allows for the persistence of these codes, enabling them to be potentially reused. If an attacker possesses both the authorization code and the associated client credentials (client ID and client secret), they can leverage these unused codes to obtain access tokens on behalf of users who have already been deleted. This may lead to unauthorized access to sensitive resources and services, contingent on the scopes originally authorized for the compromised authorization code.
AI Analysis
Technical Summary
CVE-2024-8995 affects multiple versions of WSO2 API Manager by failing to invalidate or remove unused authorization codes issued to deleted users. An attacker with possession of such an authorization code and the associated client credentials (client ID and secret) can reuse these codes to obtain access tokens, thereby gaining unauthorized access to sensitive resources and services within the scope originally granted. This vulnerability is due to insufficient session expiration controls (CWE-613). The CVSS 3.1 vector indicates network attack vector, high attack complexity, low privileges required, no user interaction, scope changed, and low impact on confidentiality and integrity, with no impact on availability. There is no known exploit in the wild and no vendor-provided patch or remediation at this time.
Potential Impact
The vulnerability allows unauthorized access to sensitive resources by reusing authorization codes that should have been invalidated after user deletion. This can lead to unauthorized access to services and data within the scope of the compromised authorization code. The impact is limited to confidentiality and integrity with low severity and does not affect availability. Exploitation requires possession of both the authorization code and client credentials, and the attack complexity is high.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, organizations should consider monitoring for suspicious use of authorization codes and client credentials, and review their token lifecycle management policies. No official remediation or temporary fix has been published by the vendor at this time.
CVE-2024-8995: CWE-613: Insufficient Session Expiration in WSO2 WSO2 API Manager
Description
Unused authorization codes issued to deleted users are not being properly invalidated or removed from the system. This allows for the persistence of these codes, enabling them to be potentially reused. If an attacker possesses both the authorization code and the associated client credentials (client ID and client secret), they can leverage these unused codes to obtain access tokens on behalf of users who have already been deleted. This may lead to unauthorized access to sensitive resources and services, contingent on the scopes originally authorized for the compromised authorization code.
CVSS v3.1
Score 4.9medium
Affected software
pkg:maven/org.wso2/carbon-apimgtRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-8995 affects multiple versions of WSO2 API Manager by failing to invalidate or remove unused authorization codes issued to deleted users. An attacker with possession of such an authorization code and the associated client credentials (client ID and secret) can reuse these codes to obtain access tokens, thereby gaining unauthorized access to sensitive resources and services within the scope originally granted. This vulnerability is due to insufficient session expiration controls (CWE-613). The CVSS 3.1 vector indicates network attack vector, high attack complexity, low privileges required, no user interaction, scope changed, and low impact on confidentiality and integrity, with no impact on availability. There is no known exploit in the wild and no vendor-provided patch or remediation at this time.
Potential Impact
The vulnerability allows unauthorized access to sensitive resources by reusing authorization codes that should have been invalidated after user deletion. This can lead to unauthorized access to services and data within the scope of the compromised authorization code. The impact is limited to confidentiality and integrity with low severity and does not affect availability. Exploitation requires possession of both the authorization code and client credentials, and the attack complexity is high.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, organizations should consider monitoring for suspicious use of authorization codes and client credentials, and review their token lifecycle management policies. No official remediation or temporary fix has been published by the vendor at this time.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- WSO2
- Date Reserved
- 2024-09-19T08:21:20.017Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7441c2bf8831d53967eba9
Added to database: 08/06/2026, 08:11:46 UTC
Last enriched: 08/06/2026, 08:29:57 UTC
Last updated: 08/07/2026, 02:12:16 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.