CVE-2025-12627
JSON

2.4low

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

Severity
2.4low CVSS:3.1 by WSO2
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
WSO2

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.

Affected

Product or packageVersionsReported by
WSO2 WSO2 Identity Serverfrom 7.0.0 before 7.0.0.130, from 7.1.0 before 7.1.0.38CVE List
org.wso2.carbon.identity.inbound.auth.oauth2:org.wso2.carbon.identity.oauthfrom 7.0.26 before 7.0.26.83, from 7.0.259 before 7.0.259.31
Not affected: from x up to *
CVE List
wso2 identity_serverfrom 7.0.0 before 7.0.0.130, from 7.1.0 before 7.1.0.38NVD

Classification

CWE-613

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

What each source says

CVE List

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.

NVD (es)

El flujo de suplantación de identidad de usuario en WSO2 Identity Server no gestiona adecuadamente los tokens de actualización asociados con sesiones suplantadas. Esto permite a un atacante que ha obtenido un token de acceso para un usuario suplantado aprovechar la concesión de token de actualización para obtener nuevos tokens de acceso, extendiendo su capacidad para actuar como el usuario legítimo. Un atacante que obtiene acceso al token de acceso de un usuario suplantado puede explotar esta debilidad para renovar su autorización. Esto resulta en la capacidad continua de realizar acciones en nombre del usuario real, comprometiendo la integridad y trazabilidad del registro al enmascarar al verdadero actor.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-12627 changed 2026-08-06CVE Terms of Use
NVDCVE-2025-12627 changed 2026-09-29Public domain