CVE-2024-8995
JSON

4.9medium

Authorization Code issued for Deleted User reuse in Multiple WSO2 Products Allows Unauthorized Access

Severity
4.9medium CVSS:3.1 by WSO2
Exploit likelihood
0.12% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
WSO2

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.

Affected

Product or packageVersionsReported by
WSO2 WSO2 API Managerbefore 3.1.0, from 3.1.0 before 3.1.0.320, from 3.2.0 before 3.2.0.413, from 3.2.1 before 3.2.1.90, from 4.0.0 before 4.0.0.334, from 4.1.0 before 4.1.0.255, from 4.2.0 before 4.2.0.195, from 4.3.0 before 4.3.0.106 and 3 moreCVE List
WSO2 WSO2 Traffic Managerfrom 4.5.0 before 4.5.0.54, from 4.6.0 before 4.6.0.19CVE List
WSO2 WSO2 API Control Planefrom 4.5.0 before 4.5.0.56, from 4.6.0 before 4.6.0.20CVE List
WSO2 WSO2 Universal Gatewayfrom 4.5.0 before 4.5.0.55, from 4.6.0 before 4.6.0.19CVE List
WSO2 WSO2 Open Banking AMbefore 2.0.0, from 2.0.0 before 2.0.0.369CVE List
WSO2 WSO2 Identity Serverbefore 5.10.0, from 5.10.0 before 5.10.0.345, from 5.11.0 before 5.11.0.395, from 6.0.0 before 6.0.0.229, from 6.1.0 before 6.1.0.208CVE List
WSO2 WSO2 Open Banking IAMbefore 2.0.0, from 2.0.0 before 2.0.0.389CVE List
WSO2 WSO2 Identity Server as Key Managerbefore 5.10.0, from 5.10.0 before 5.10.0.338CVE List
org.wso2.carbon.identity.inbound.auth.oauth2:org.wso2.carbon.identity.oauthfrom 6.4.2 before 6.4.2.154, from 6.4.111 before 6.4.111.131, from 6.4.176 before 6.4.176.35, from 6.4.180 before 6.4.180.17, from 6.8.0 before 6.8.0.46, from 6.9.6 before 6.9.6.34, from 6.11.21 before 6.11.21.59, from 6.13.16 before 6.13.16.27 and 3 more
Not affected: from 6.11.53 up to *
CVE List
wso2 api_control_planefrom 4.5.0 before 4.5.0.56, from 4.6.0 before 4.6.0.20NVD
wso2 api_managerfrom 3.1.0 before 3.1.0.320, from 3.2.0 before 3.2.0.413, from 3.2.1 before 3.2.1.90, from 4.0.0 before 4.0.0.334, from 4.1.0 before 4.1.0.255, from 4.2.0 before 4.2.0.195, from 4.3.0 before 4.3.0.106, from 4.4.0 before 4.4.0.70 and 2 moreNVD
wso2 identity_serverfrom 5.10.0 before 5.10.0.338, from 5.11.0 before 5.11.0.395, from 6.0.0 before 6.0.0.229, from 6.1.0 before 6.1.0.208NVD

Classification

CWE-613

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Los códigos de autorización no utilizados emitidos a usuarios eliminados no están siendo invalidados o eliminados correctamente del sistema. Esto permite la persistencia de estos códigos, lo que permite que sean potencialmente reutilizados. Si un atacante posee tanto el código de autorización como las credenciales de cliente asociadas (ID de cliente y secreto de cliente), pueden aprovechar estos códigos no utilizados para obtener tokens de acceso en nombre de usuarios que ya han sido eliminados. Esto puede conducir a un acceso no autorizado a recursos y servicios sensibles, supeditado a los ámbitos originalmente autorizados para el código de autorización comprometido.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-8995 changed 2026-08-06CVE Terms of Use
NVDCVE-2024-8995 changed 2026-10-27Public domain