Skip to content

CVE-2024-8995 Authorization Code issued for Deleted User reuse in Multiple WSO2 Products Allows Unauthorized Access

MediumCVSS 4.9 EPSS 0.19%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

17 packages: 17 fixed.

PackageAffectedFixed inStatus
WSO2 API Control Plane >= 4.5.0, < 4.5.0.56; >= 4.6.0, < 4.6.0.20 4.5.0.56, 4.6.0.20 Fixed
WSO2 api control plane >= 4.5.0, < 4.5.0.56; >= 4.6.0, < 4.6.0.20 4.5.0.56, 4.6.0.20 Fixed
WSO2 API Manager >= 3.1.0, < 3.1.0.320; >= 3.2.0, < 3.2.0.413; >= 3.2.1, < 3.2.1.90; >= 4.0.0, < 4.0.0.334 +6 more 3.1.0.320, 3.2.0.413, 3.2.1.90, 4.0.0.334, 4.1.0.255, 4.2.0.195, 4.3.0.106, 4.4.0.70, 4.5.0.55, 4.6.0.19 Fixed
WSO2 api manager >= 3.1.0, < 3.1.0.320; >= 3.2.0, < 3.2.0.413; >= 3.2.1, < 3.2.1.90; >= 4.0.0, < 4.0.0.334 +6 more 3.1.0.320, 3.2.0.413, 3.2.1.90, 4.0.0.334, 4.1.0.255, 4.2.0.195, 4.3.0.106, 4.4.0.70, 4.5.0.55, 4.6.0.19 Fixed
WSO2 Carbon OAuth >= 6.4.2, < 6.4.2.154; >= 6.4.111, < 6.4.111.131; >= 6.4.176, < 6.4.176.35; >= 6.4.180, < 6.4.180.17 +7 more 6.4.2.154, 6.4.111.131, 6.4.176.35, 6.4.180.17, 6.8.0.46, 6.9.6.34, 6.11.21.59, 6.13.16.27, 6.13.19.19, 6.13.27.15, 6.13.41.4 Fixed
WSO2 Identity Server >= 5.10.0, < 5.10.0.345; >= 5.11.0, < 5.11.0.395; >= 6.0.0, < 6.0.0.229; >= 6.1.0, < 6.1.0.208 5.10.0.345, 5.11.0.395, 6.0.0.229, 6.1.0.208 Fixed
WSO2 identity server >= 5.10.0, < 5.10.0.338; >= 5.11.0, < 5.11.0.395; >= 6.0.0, < 6.0.0.229; >= 6.1.0, < 6.1.0.208 5.10.0.338, 5.11.0.395, 6.0.0.229, 6.1.0.208 Fixed
WSO2 Identity Server as Key Manager >= 5.10.0, < 5.10.0.338 5.10.0.338 Fixed
WSO2 identity server as key manager >= 5.10.0, < 5.10.0.338 5.10.0.338 Fixed
WSO2 Open Banking AM >= 2.0.0, < 2.0.0.369 2.0.0.369 Fixed
WSO2 open banking am >= 2.0.0, < 2.0.0.369 2.0.0.369 Fixed
WSO2 Open Banking IAM >= 2.0.0, < 2.0.0.389 2.0.0.389 Fixed
WSO2 open banking iam >= 2.0.0, < 2.0.0.389 2.0.0.389 Fixed
WSO2 Traffic Manager >= 4.5.0, < 4.5.0.54; >= 4.6.0, < 4.6.0.19 4.5.0.54, 4.6.0.19 Fixed
WSO2 traffic manager >= 4.5.0, < 4.5.0.54; >= 4.6.0, < 4.6.0.19 4.5.0.54, 4.6.0.19 Fixed
WSO2 Universal Gateway >= 4.5.0, < 4.5.0.55; >= 4.6.0, < 4.6.0.19 4.5.0.55, 4.6.0.19 Fixed
WSO2 universal gateway >= 4.5.0, < 4.5.0.55; >= 4.6.0, < 4.6.0.19 4.5.0.55, 4.6.0.19 Fixed

Affected products

ProductAffected versionsFixed in
WSO2 API Manager < 3.1.0 3.1.0
WSO2 API Manager >= 3.1.0, < 3.1.0.320 3.1.0.320
WSO2 API Manager >= 3.2.0, < 3.2.0.413 3.2.0.413
WSO2 API Manager >= 3.2.1, < 3.2.1.90 3.2.1.90
WSO2 API Manager >= 4.0.0, < 4.0.0.334 4.0.0.334
WSO2 API Manager >= 4.1.0, < 4.1.0.255 4.1.0.255
WSO2 API Manager >= 4.2.0, < 4.2.0.195 4.2.0.195
WSO2 API Manager >= 4.3.0, < 4.3.0.106 4.3.0.106
WSO2 API Manager >= 4.4.0, < 4.4.0.70 4.4.0.70
WSO2 API Manager >= 4.5.0, < 4.5.0.55 4.5.0.55
WSO2 API Manager >= 4.6.0, < 4.6.0.19 4.6.0.19
WSO2 Traffic Manager >= 4.5.0, < 4.5.0.54 4.5.0.54
WSO2 Traffic Manager >= 4.6.0, < 4.6.0.19 4.6.0.19
WSO2 API Control Plane >= 4.5.0, < 4.5.0.56 4.5.0.56
WSO2 API Control Plane >= 4.6.0, < 4.6.0.20 4.6.0.20
WSO2 Universal Gateway >= 4.5.0, < 4.5.0.55 4.5.0.55
WSO2 Universal Gateway >= 4.6.0, < 4.6.0.19 4.6.0.19
WSO2 Open Banking AM < 2.0.0 2.0.0
WSO2 Open Banking AM >= 2.0.0, < 2.0.0.369 2.0.0.369
WSO2 Identity Server < 5.10.0 5.10.0
WSO2 Identity Server >= 5.10.0, < 5.10.0.345 5.10.0.345
WSO2 Identity Server >= 5.11.0, < 5.11.0.395 5.11.0.395
WSO2 Identity Server >= 6.0.0, < 6.0.0.229 6.0.0.229
WSO2 Identity Server >= 6.1.0, < 6.1.0.208 6.1.0.208
WSO2 Open Banking IAM < 2.0.0 2.0.0
Show 37 more
ProductAffected versionsFixed in
WSO2 Open Banking IAM >= 2.0.0, < 2.0.0.389 2.0.0.389
WSO2 Identity Server as Key Manager < 5.10.0 5.10.0
WSO2 Identity Server as Key Manager >= 5.10.0, < 5.10.0.338 5.10.0.338
WSO2 Carbon OAuth >= 6.4.2, < 6.4.2.154 6.4.2.154
WSO2 Carbon OAuth >= 6.4.111, < 6.4.111.131 6.4.111.131
WSO2 Carbon OAuth >= 6.4.176, < 6.4.176.35 6.4.176.35
WSO2 Carbon OAuth >= 6.4.180, < 6.4.180.17 6.4.180.17
WSO2 Carbon OAuth >= 6.8.0, < 6.8.0.46 6.8.0.46
WSO2 Carbon OAuth >= 6.9.6, < 6.9.6.34 6.9.6.34
WSO2 Carbon OAuth >= 6.11.21, < 6.11.21.59 6.11.21.59
WSO2 Carbon OAuth >= 6.13.16, < 6.13.16.27 6.13.16.27
WSO2 Carbon OAuth >= 6.13.19, < 6.13.19.19 6.13.19.19
WSO2 Carbon OAuth >= 6.13.27, < 6.13.27.15 6.13.27.15
WSO2 Carbon OAuth >= 6.13.41, < 6.13.41.4 6.13.41.4
WSO2 api control plane >= 4.5.0, < 4.5.0.56 4.5.0.56
WSO2 api control plane >= 4.6.0, < 4.6.0.20 4.6.0.20
WSO2 api manager >= 3.1.0, < 3.1.0.320 3.1.0.320
WSO2 api manager >= 3.2.0, < 3.2.0.413 3.2.0.413
WSO2 api manager >= 3.2.1, < 3.2.1.90 3.2.1.90
WSO2 api manager >= 4.0.0, < 4.0.0.334 4.0.0.334
WSO2 api manager >= 4.1.0, < 4.1.0.255 4.1.0.255
WSO2 api manager >= 4.2.0, < 4.2.0.195 4.2.0.195
WSO2 api manager >= 4.3.0, < 4.3.0.106 4.3.0.106
WSO2 api manager >= 4.4.0, < 4.4.0.70 4.4.0.70
WSO2 api manager >= 4.5.0, < 4.5.0.55 4.5.0.55
WSO2 api manager >= 4.6.0, < 4.6.0.19 4.6.0.19
WSO2 identity server >= 5.10.0, < 5.10.0.338 5.10.0.338
WSO2 identity server >= 5.11.0, < 5.11.0.395 5.11.0.395
WSO2 identity server >= 6.0.0, < 6.0.0.229 6.0.0.229
WSO2 identity server >= 6.1.0, < 6.1.0.208 6.1.0.208
WSO2 identity server as key manager >= 5.10.0, < 5.10.0.338 5.10.0.338
WSO2 open banking am >= 2.0.0, < 2.0.0.369 2.0.0.369
WSO2 open banking iam >= 2.0.0, < 2.0.0.389 2.0.0.389
WSO2 traffic manager >= 4.5.0, < 4.5.0.54 4.5.0.54
WSO2 traffic manager >= 4.6.0, < 4.6.0.19 4.6.0.19
WSO2 universal gateway >= 4.5.0, < 4.5.0.55 4.5.0.55
WSO2 universal gateway >= 4.6.0, < 4.6.0.19 4.6.0.19

References