Cloud Foundry UAA accepts refresh token as access token on admin endpoints
High severity
GitHub Reviewed
Published
May 13, 2022
to the GitHub Advisory Database
•
Updated Mar 1, 2024
Package
Affected versions
< 4.5.7
>= 4.6.0, < 4.7.6
>= 4.8.0, < 4.10.2
>= 4.11.0, < 4.12.4
>= 4.13.0, < 4.19.2
Patched versions
4.5.7
4.7.6
4.10.2
4.12.4
4.19.2
Description
Published by the National Vulnerability Database
Jul 24, 2018
Published to the GitHub Advisory Database
May 13, 2022
Reviewed
Mar 1, 2024
Last updated
Mar 1, 2024
Cloud Foundry UAA, versions 4.19 prior to 4.19.2 and 4.12 prior to 4.12.4 and 4.10 prior to 4.10.2 and 4.7 prior to 4.7.6 and 4.5 prior to 4.5.7, incorrectly authorizes requests to admin endpoints by accepting a valid refresh token in lieu of an access token. Refresh tokens by design have a longer expiration time than access tokens, allowing the possessor of a refresh token to authenticate longer than expected. This affects the administrative endpoints of the UAA. i.e. /Users, /Groups, etc. However, if the user has been deleted or had groups removed, or the client was deleted, the refresh token will no longer be valid.
References