You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now any valid token can be used to introspect any other token.
From the token introspection RFC: https://tools.ietf.org/html/rfc7662 bottom of page 11 If left unprotected and un-throttled, the introspection endpoint could present a means for an attacker to poll a series of possible token values, fishing for a valid token. To prevent this, the authorization server MUST require authentication of protected resources that need to access the introspection endpoint and SHOULD require protected resources to be specifically authorized to call the introspection endpoint.
The request is to implement the "SHOULD require protected resources to be specifically authorized to call the introspection endpoint" otherwise one oauth user can introspect another oauth user's token.
The text was updated successfully, but these errors were encountered:
Also, if revoke doesn't have a similar scope or policy restriction, any token could be used to revoke any other token. (I have not tested this scenario yet)
RFC states:
The authorization server first validates the client credentials (in
case of a confidential client) and then verifies whether the token
was issued to the client making the revocation request. If this
validation fails, the request is refused and the client is informed
of the error by the authorization server as described below.
Right now any valid token can be used to introspect any other token.
From the token introspection RFC: https://tools.ietf.org/html/rfc7662 bottom of page 11 If left unprotected and un-throttled, the introspection endpoint could present a means for an attacker to poll a series of possible token values, fishing for a valid token. To prevent this, the authorization server MUST require authentication of protected resources that need to access the introspection endpoint and SHOULD require protected resources to be specifically authorized to call the introspection endpoint.
The request is to implement the "SHOULD require protected resources to be specifically authorized to call the introspection endpoint" otherwise one oauth user can introspect another oauth user's token.
The text was updated successfully, but these errors were encountered: