Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-8455

[fiware-stackoverflow] FIWARE-Keyrock: Why are the OAuth2 credentials related to apps if they do not control access?

    Details

      Description

      Created question in FIWARE Q/A platform on 28-03-2017 at 22:03
      Please, ANSWER this question AT http://stackoverflow.com/questions/43079778/fiware-keyrock-why-are-the-oauth2-credentials-related-to-apps-if-they-do-not-co

      Question:
      FIWARE-Keyrock: Why are the OAuth2 credentials related to apps if they do not control access?

      Description:
      We have a scenario where I want to protect a service X with Wilma PEP Proxy. The service X is registered in Keyrock. The Wilma PEP Proxy contains the PEP credentials generated in Keyrock for service X. An application Y gets access to service X with the proper OAuth2 credentials generated for this specific service (client_id and client_secret). It is ok. But there is a problem: an application Z also gets access to the service X with different OAuth2 credentials (not the service X credentials)!!

      If this is possible, why do we have applications with specific OAuth2 credentials generated in Keyrock if they do not control anything?! It does not make sense!

      It is a big security issue, because one intruder can register some application in Keyrock and with tokens generated for this specific application (with its own OAuth2 credentials) this intruder can access all the applications registered in this Keyrock instance!

        Activity

        backlogmanager Backlog Manager created issue -
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        fla Fernando Lopez made changes -
        Assignee Alvaro Alonso [ aalonsog ]
        fla Fernando Lopez made changes -
        HD-Enabler KeyRock [ 10889 ]
        Description
        Created question in FIWARE Q/A platform on 28-03-2017 at 22:03
        {color: red}Please, ANSWER this question AT{color} http://stackoverflow.com/questions/43079778/fiware-keyrock-why-are-the-oauth2-credentials-related-to-apps-if-they-do-not-co


        +Question:+
        FIWARE-Keyrock: Why are the OAuth2 credentials related to apps if they do not control access?

        +Description:+
        We have a scenario where I want to protect a service X with Wilma PEP Proxy. The service X is registered in Keyrock. The Wilma PEP Proxy contains the PEP credentials generated in Keyrock for service X. An application Y gets access to service X with the proper OAuth2 credentials generated for this specific service (client_id and client_secret). It is ok. But there is a problem: an application Z also gets access to the service X with different OAuth2 credentials (not the service X credentials)!!

        If this is possible, why do we have applications with specific OAuth2 credentials generated in Keyrock if they do not control anything?! It does not make sense!

        It is a big security issue, because one intruder can register some application in Keyrock and with tokens generated for this specific application (with its own OAuth2 credentials) this intruder can access all the applications registered in this Keyrock instance!
        Created question in FIWARE Q/A platform on 28-03-2017 at 22:03
        {color: red}Please, ANSWER this question AT{color} http://stackoverflow.com/questions/43079778/fiware-keyrock-why-are-the-oauth2-credentials-related-to-apps-if-they-do-not-co


        +Question:+
        FIWARE-Keyrock: Why are the OAuth2 credentials related to apps if they do not control access?

        +Description:+
        We have a scenario where I want to protect a service X with Wilma PEP Proxy. The service X is registered in Keyrock. The Wilma PEP Proxy contains the PEP credentials generated in Keyrock for service X. An application Y gets access to service X with the proper OAuth2 credentials generated for this specific service (client_id and client_secret). It is ok. But there is a problem: an application Z also gets access to the service X with different OAuth2 credentials (not the service X credentials)!!

        If this is possible, why do we have applications with specific OAuth2 credentials generated in Keyrock if they do not control anything?! It does not make sense!

        It is a big security issue, because one intruder can register some application in Keyrock and with tokens generated for this specific application (with its own OAuth2 credentials) this intruder can access all the applications registered in this Keyrock instance!
        HD-Chapter Security [ 10841 ]
        aalonsog Alvaro Alonso made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        aalonsog Alvaro Alonso made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        aalonsog Alvaro Alonso made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]

          People

          • Assignee:
            aalonsog Alvaro Alonso
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: