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
{{ message }}
Repository navigation
UMA permission tickets can be created for scopes not assigned to the resource #55590
I have read and understood the above terms for submitting issues.
Area
authorization-services
Bug Description
A denied UMA ticket request can create a pending permission ticket for a resource-server scope that is not assigned to the target resource. The resource owner can then approve the malformed ticket through the Account API.
Version
26.8.2
Regression
The issue is not established as a regression.
Expected behavior
A permission ticket must associate only scopes assigned to its target resource. Creating or approving a ticket for an unrelated resource/scope pair should be rejected.
Actual behavior
A requester with a valid ticket for resource#read can add scope=write, where write exists on the resource server but is absent from the target resource.
The denied request persists a pending resource#write ticket. The resource owner can approve it through the Account API, leaving a granted ticket for an invalid resource/scope pair.
How to Reproduce?
Create a user-owned resource with owner-managed access and assign only the read scope.
Define write on another resource in the same resource server.
Create a signed permission ticket for resource#read.
Submit the ticket to the UMA token endpoint with scope=write and submit_request=true.
Confirm that the denial creates a pending resource#write ticket.
Approve the ticket as the resource owner through the Account API.
Verify that the granted ticket associates write with a resource that does not define it.
Activity