View online: https://www.drupal.org/node/2765567 * Advisory ID: DRUPAL-SA-CONTRIB-2016-040 * Project: RESTful Web Services [1] (third-party module) * Version: 7.x * Date: 2016-July-13 * Security risk: 22/25 ( Highly Critical) AC:None/A:None/CI:All/II:All/E:Theoretical/TD:All [2] * Vulnerability: Arbitrary PHP code execution -------- DESCRIPTION --------------------------------------------------------- This module enables you to expose Drupal entities as RESTful web services. RESTWS alters the default page callbacks for entities to provide additional functionality. A vulnerability in this approach allows an attacker to send specially crafted requests resulting in arbitrary PHP execution. There are no mitigating factors. This vulnerability can be exploited by anonymous users. -------- 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 Web Services 7.x-2.x versions prior to 7.x-2.6. * RESTful Web Services 7.x-1.x versions prior to 7.x-1.7. Drupal core is not affected. If you do not use the contributed RESTful Web Services [4] module, there is nothing you need to do. -------- SOLUTION ------------------------------------------------------------ Install the latest version: * If you use the RESTful Web Services module for Drupal 7.x, upgrade to RESTful Web Services 7.x-2.6 [5] * If you use the RESTful Web Services module for Drupal 7.x, upgrade to RESTful Web Services 7.x-1.7 [6] Also see the RESTful Web Services [7] project page. -------- REPORTED BY --------------------------------------------------------- * Devin Zuczek [8] -------- FIXED BY ------------------------------------------------------------ * Klaus Purer [9] of the Drupal Security Team * Wolfgang Ziegler [10] the module maintainer -------- COORDINATED BY ------------------------------------------------------ * Klaus Purer [11] of the Drupal Security Team * Greg Knaddison [12] 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 [13]. Learn more about the Drupal Security team and their policies [14], writing secure code for Drupal [15], and securing your site [16]. Follow the Drupal Security Team on Twitter at https://twitter.com/drupalsecurity [17] [1] https://www.drupal.org/project/restws [2] https://www.drupal.org/security-team/risk-levels [3] http://cve.mitre.org/ [4] https://www.drupal.org/project/restws [5] https://www.drupal.org/project/restws/releases/7.x-2.6 [6] https://www.drupal.org/project/restws/releases/7.x-1.7 [7] https://www.drupal.org/project/restws [8] https://www.drupal.org/user/701754 [9] https://www.drupal.org/user/262198 [10] https://www.drupal.org/u/fago [11] https://www.drupal.org/user/262198 [12] https://www.drupal.org/u/greggles [13] https://www.drupal.org/contact [14] https://www.drupal.org/security-team [15] https://www.drupal.org/writing-secure-code [16] https://www.drupal.org/security/secure-configuration [17] https://twitter.com/drupalsecurity