[Security-news] SA-CONTRIB-2014-007 - Services - Multiple access bypass vulnerabilities

security-news at drupal.org security-news at drupal.org
Wed Jan 29 21:43:08 UTC 2014


View online: https://drupal.org/node/2184843

   * Advisory ID: DRUPAL-SA-CONTRIB-2014-007
   * Project: Services [1] (third-party module)
   * Version: 7.x
   * Date: 2014-January-29
   * Security risk: Highly critical [2]
   * Exploitable from: Remote
   * Vulnerability: Multiple access bypass vulnerabilities

-------- DESCRIPTION
---------------------------------------------------------

This module enables you to expose an API to third party systems using REST,
XML-RPC or other protocols.

The form API provides a method for developers to submit forms
programmatically using the function drupal_form_submit(). During programmatic
form submissions, all access checks are deliberately bypassed, and any form
element may be submitted regardless of the current user's access level.

To facilitate this, a new, optional
$form_state['programmed_bypass_access_check'] element has been added to the
Drupal 7 form API. If this is provided and set to FALSE, drupal_form_submit()
will perform the normal form access checks against the current user while
submitting the form, rather than bypassing them.

Services relies heavily on programmatic form submission and therefore needs
to use this new $form_state['programmed_bypass_access_check'] so that access
control parameters and hooks are performed for untrusted 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.5.

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:

   * If you use the Services module for Drupal 7.x, upgrade to Services 
7.x-3.6
     [5]

Also see the Services [6] project page.

-------- REPORTED BY
---------------------------------------------------------

   * wedge [7]
   * prjcarr [8]

-------- FIXED BY
------------------------------------------------------------

   * David Rothstein [9] of the Drupal Security Team
   * Hunter Fox [10] of the Drupal Security Team
   * Kyle Browning [11], the module maintainer.

-------- COORDINATED BY
------------------------------------------------------

   * Hunter Fox [12] of the Drupal Security Team
   * Klaus Purer [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 http://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] http://drupal.org/project/services
[2] http://drupal.org/security-team/risk-levels
[3] http://cve.mitre.org/
[4] http://drupal.org/project/services
[5] https://drupal.org/node/2180373
[6] http://drupal.org/project/services
[7] https://drupal.org/user/11442
[8] https://drupal.org/user/1223090
[9] https://drupal.org/user/124982
[10] https://drupal.org/user/426416
[11] https://drupal.org/user/211387
[12] http://drupal.org/user/426416
[13] http://drupal.org/user/262198
[14] http://drupal.org/contact
[15] http://drupal.org/security-team
[16] http://drupal.org/writing-secure-code
[17] http://drupal.org/security/secure-configuration
[18] https://twitter.com/drupalsecurity



More information about the Security-news mailing list