View online: https://www.drupal.org/node/2471879
* Advisory ID: DRUPAL-SA-CONTRIB-2015-096 * Project: Services [1] (third-party module) * Version: 7.x * Date: 2015-April-15 * Security risk: 16/25 ( Critical) AC:None/A:None/CI:Some/II:Some/E:Theoretical/TD:Uncommon [2] * Vulnerability: Access bypass, Arbitrary PHP code execution
-------- DESCRIPTION ---------------------------------------------------------
Services module enables you to expose an API to third party systems.
.... Access bypass (file upload and execution)
The resource/endpoint for uploading files does not properly sanitize the filename of uploaded files. This vulnerability is mitigated by the fact that the "File > Create" resource must be enabled and an attacker must have a role with the Services "Save file information" permission.
.... Private fields information displayed
Services does not check field_access when displaying entities so some private field information may be displayed. This vulnerability is only affecting sites using the field_permissions module configured to hide fields from 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 ---------------------------------------------------
Services 7.x-3.x versions prior to 7.x-3.12.
Drupal core is not affected. If you do not use the contributed Services [4] module, there is nothing you need to do.
-------- SOLUTION ------------------------------------------------------------
Install the latest version of Services: Services 7.x-3.12 [5].
As a reminder, Services for Drupal 6 is no longer maintained.
Also see the Services [6] project page.
-------- REPORTED BY ---------------------------------------------------------
.... Access Bypass/file upload
* Fabian Franz [7] * Bevan Rudge [8]
.... Private fields information displayed
* giorgio79 [9]
-------- FIXED BY ------------------------------------------------------------
.... Access Bypass/file upload
* Bevan Rudge [10]
.... Private fields information displayed
* Kyle Browning [11] module maintainer
-------- COORDINATED BY ------------------------------------------------------
* Ben Dougherty [12] of the Drupal Security Team * Stéphane Corlosquet [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/services [2] https://www.drupal.org/security-team/risk-levels [3] http://cve.mitre.org/ [4] https://www.drupal.org/project/services [5] https://www.drupal.org/node/2471847 [6] https://www.drupal.org/project/services [7] https://www.drupal.org/u/fabianx [8] https://www.drupal.org/u/bevan [9] https://www.drupal.org/user/235790 [10] https://www.drupal.org/u/bevan [11] https://www.drupal.org/u/kylebrowning [12] https://www.drupal.org/u/benjy [13] https://www.drupal.org/u/scor [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