You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (Jira)" <ji...@apache.org> on 2024/12/12 09:54:00 UTC

[jira] [Created] (SLING-12543) JcrUserHomeOAuthTokenStore allows uses to access their own tokens

Robert Munteanu created SLING-12543:
---------------------------------------

             Summary: JcrUserHomeOAuthTokenStore allows uses to access their own tokens
                 Key: SLING-12543
                 URL: https://issues.apache.org/jira/browse/SLING-12543
             Project: Sling
          Issue Type: Bug
          Components: Authentication, Extensions
            Reporter: Robert Munteanu
             Fix For: OAuth Client 0.1.0


Tokens stored by the JcrUserHomeOAuthTokenStore allow the owning user to access them. But the ownership of those tokens belongs to the application.

Making them accessible to the user directly means that:
- the user can retrieve them and perform actions that are attributed to the OAuth client application
- they can be extracted by an attacker in using XSS vulnerabilities

We should make sure these two scenarios are not possible



--
This message was sent by Atlassian Jira
(v8.20.10#820010)