Skip to main content

Incorrect Authorization


Severity High
Score 7.5/10


Cloud Foundry UAA, versions 3.x, 4.13 prior to 4.19.2 and 4.11 prior to 4.12.4 and 4.8 prior to 4.10.2 and 4.6 prior to 4.7.6 and 4.1 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.

  • LOW
  • HIGH
  • NONE
  • NONE
  • NONE
  • NONE

CWE-863 - Incorrect Authorization

Authorization is a security mechanism performed by an application to grant or deny access to the requested resources by verifying the privileges of the user. When an application lacks effective authorization mechanisms, it enables unauthorized users to gain unintended privileges and illegitimate access to resources. Such a vulnerability may result in exposure of sensitive information, denial of service, arbitrary code execution, and complete system takeover.

Advisory Timeline

  • Published