CVE-2025-12627

Summary

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 Software

VendorProductVersion RangeStatus
WSO2WSO2 Identity Server7.0.0 < 7.0.0.130affected
WSO2WSO2 Identity Server7.1.0 < 7.1.0.38affected
WSO2WSO2 Carbon OAuth7.0.26 < 7.0.26.83affected
WSO2WSO2 Carbon OAuth7.0.259 < 7.0.259.31affected
WSO2WSO2 Carbon OAuthx <= *unaffected

Weaknesses

  • CWE-613: CWE-613: Insufficient Session Expiration

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References