View online: https://www.drupal.org/node/2852928
* Advisory ID: DRUPAL-SA-CONTRIB-2017-018 * Project: RESTful [1] (third-party module) * Version: 7.x * Date: 2017-February-15 * Security risk: 11/25 ( Moderately Critical) AC:Complex/A:User/CI:Some/II:Some/E:Theoretical/TD:Uncommon [2] * Vulnerability: Access bypass
-------- DESCRIPTION ---------------------------------------------------------
This module enables you to build a RESTful API for your Drupal site.
The restful_token_auth module (a sub-module) doesn't validate the status of users when logging them in. This results in a blocked user being able to operate normally with the RESTful actions, even after being blocked.
This vulnerability is mitigated by the fact that an attacker must be in possession of the credentials of a previously blocked user. It is also mitigated by the attacker only will have the access corresponding to the roles of the blocked user. Finally this only affects sites that use the sub-module, restful_token_auth.
-------- CVE IDENTIFIER(S) ISSUED --------------------------------------------
* /A CVE identifier [3] will be requested, and added upon issuance, in accordance with Drupal Security Team processes./
-------- VERSIONS AFFECTED ---------------------------------------------------
* RESTful 7.x-1.x versions prior to 7.x-1.8. * RESTful 7.x-2.x versions prior to 7.x-2.16.
Drupal core is not affected. If you do not use the contributed RESTful [4] module, there is nothing you need to do.
-------- SOLUTION ------------------------------------------------------------
Install the latest version:
* If you use the restful_token_auth sub-module for Drupal 7.x, upgrade to RESTful 7.x-1.8 [5] or RESTful 7.x-2.16 [6]
Also see the RESTful [7] project page.
-------- REPORTED BY ---------------------------------------------------------
* Pere Orga [8] of the Drupal Security Team * Roy Segall [9]
-------- FIXED BY ------------------------------------------------------------
* Mateu Aguiló Bosch [10] the module maintainer * Michael Hess [11] of the Drupal Security Team
-------- COORDINATED BY ------------------------------------------------------
* Michael Hess [12] of the Drupal Security Team * David Snopek [13] of the Drupal Security Team
-------- CONTACT AND MORE INFORMATION ----------------------------------------
The Drupal security team can be reached at security at drupal.org or via the contact form at https://www.drupal.org/contact [14].
Learn more about the Drupal Security team and their policies [15], writing secure code for Drupal [16], and securing your site [17].
Follow the Drupal Security Team on Twitter at https://twitter.com/drupalsecurity [18]
[1] https://www.drupal.org/project/restful [2] https://www.drupal.org/security-team/risk-levels [3] http://cve.mitre.org/ [4] https://www.drupal.org/project/restful [5] https://www.drupal.org/node/2852761 [6] https://www.drupal.org/node/2852759 [7] https://www.drupal.org/project/restful [8] https://www.drupal.org/user/2301194 [9] https://www.drupal.org/user/1812910 [10] https://www.drupal.org/user/550110 [11] https://www.drupal.org/user/102818 [12] https://www.drupal.org/user/102818 [13] https://www.drupal.org/user/266527 [14] https://www.drupal.org/contact [15] https://www.drupal.org/security-team [16] https://www.drupal.org/writing-secure-code [17] https://www.drupal.org/security/secure-configuration [18] https://twitter.com/drupalsecurity