Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 44.33 KB
MD5: 943b920774cf6913187f908e894e16d8
SHA-1: b1101e566dabfbe3e9bd85fdef399587dad038b7
SHA-256: 412189043d560a1a39222f8edc24fdbcc78a455f7aa8e974facbdb1bd6229ba0
Download zip 91.73 KB
MD5: f782eb8f4a27bcd9de78488732393b47
SHA-1: e204c2a10725915337e3f855c911c5804fc87227
SHA-256: 164186cfcc66a391332d7ed38a29e5921d4a6485a639f3bce5c9299c67147fb3

Release notes

test(Collector): Add unit testing for entity collector

955b0a0 by Mateu Aguiló Bosch (G)

:100644 100644 bdf018d... 3258f7e... M simple_oauth_extras/tests/src/Functional/RolesNegotiationFunctionalTest.php
:100644 100644 37273e8... b6bd824... M src/ExpiredCollector.php
:100644 100644 7ce3f37... 254c346... M tests/src/Unit/EntityCollectorTest.php

security(Scopes): Addess security vulnerabilities related to scopes

7358d41 by Mateu Aguiló Bosch (G)

1. When using Client Credentials any user with the shared credentials for this client would be able to gain the administrator role. (This was not originally reported here.)
2. After issuing a valid token, if the roles assigned to the user or the client changed the access tokens previously issues could grant the original roles.

In order to exploit vulnerability #1 a user would need to have access to the client's id and password and they should be using the client credentials grant. Nonetheless this constitutes a privilege escalation issue, I dim it to be `Critical`.

Vulnerability #2 is mitigated by the fact that there needs to be a well timed chain of events. The exploit would only be accessible during the time after an special edit (remove a role) was made and the token was expired. In addition to that a token using that particular role being removed would have to exist prior to the edit. Nonetheless this constitutes a privilege escalation issue, I dim it to be `Less Critical`.

:100644 100644 43201ad... 37efd41... M simple_oauth.info.yml
:100644 100644 6987b78... 9fc786c... M simple_oauth.module
:100644 100644 9d9bf24... 0d72681... M simple_oauth_extras/simple_oauth_extras.info.yml
:000000 100644 0000000... bdf018d... A simple_oauth_extras/tests/src/Functional/RolesNegotiationFunctionalTest.php
:100644 100644 47c503c... 37273e8... M src/ExpiredCollector.php
:100644 100644 0f0f9bb... 03f6660... M src/HttpMiddleware/BasicAuthSwap.php
:100644 100644 ca129bf... d2ae661... M src/Plugin/Oauth2GrantManager.php
:100644 100644 4dc52b6... 4686fd3... M src/Repositories/ScopeRepository.php
:000000 100644 0000000... 3ecd4b2... A tests/src/Functional/RequestHelperTrait.php
:100644 100644 48ccbba... 3f2f48e... M tests/src/Functional/TokenBearerFunctionalTestBase.php

refactor(Client Credentials): Redundant Refresh Token dependency (#2878197 by nuez, e0ipso)

fa8cd17 by nuez (G)

:100644 100644 5d4c755... 110e715... M simple_oauth_extras/src/Plugin/Oauth2Grant/ClientCredentials.php
:100644 100644 3911e0d... 2879c4e... M src/Plugin/Oauth2GrantBase.php

Created by: e0ipso
Created on: 28 May 2017 at 21:44 UTC
Last updated: 3 Jul 2017 at 13:49 UTC
Bug fixes
Unsupported

Other releases