Skip to content

CVE-2025-12627 Improper Refresh Token Implementation via User Impersonation Flow in WSO2 Identity Server Enables Continued Unauthorized Actions

LowCVSS 2.4 EPSS 0.20%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

The user impersonation flow in WSO2 Identity Server fails to properly manage refresh tokens associated with impersonated sessions. This allows an attacker who has obtained an access token for an impersonated user to leverage the refresh token grant to obtain new access tokens, extending their ability to act as the legitimate user.

An attacker who gains access to an impersonated user's access token can exploit this weakness to renew their authorization. This results in the continued ability to perform actions on behalf of the actual user, compromising log integrity and traceability by masking the true actor.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
WSO2 Carbon OAuth >= 7.0.26, < 7.0.26.83; >= 7.0.259, < 7.0.259.31 7.0.26.83, 7.0.259.31 Fixed
WSO2 Identity Server >= 7.0.0, < 7.0.0.130; >= 7.1.0, < 7.1.0.38 7.0.0.130, 7.1.0.38 Fixed
WSO2 identity server >= 7.0.0, < 7.0.0.130; >= 7.1.0, < 7.1.0.38 7.0.0.130, 7.1.0.38 Fixed

Affected products

ProductAffected versionsFixed in
WSO2 Identity Server >= 7.0.0, < 7.0.0.130 7.0.0.130
WSO2 Identity Server >= 7.1.0, < 7.1.0.38 7.1.0.38
WSO2 Carbon OAuth >= 7.0.26, < 7.0.26.83 7.0.26.83
WSO2 Carbon OAuth >= 7.0.259, < 7.0.259.31 7.0.259.31
WSO2 identity server >= 7.0.0, < 7.0.0.130 7.0.0.130
WSO2 identity server >= 7.1.0, < 7.1.0.38 7.1.0.38

References