what you don't know can hurt you

Drupal Services 6.x / 7.x Cross Site Request Forgery

Drupal Services 6.x / 7.x Cross Site Request Forgery
Posted Jun 5, 2013
Authored by Klaus Purer, Fredrik Lassen | Site drupal.org

Drupal Services third party module versions 6.x and 7.x suffer from a cross site request forgery vulnerability.

tags | advisory, csrf
MD5 | cca7e32e9ee642159545b6b19f983deb

Drupal Services 6.x / 7.x Cross Site Request Forgery

Change Mirror Download
View online: https://drupal.org/node/2012982

* Advisory ID: DRUPAL-SA-CONTRIB-2013-051
* Project: Services [1] (third-party module)
* Version: 6.x, 7.x
* Date: 2013-June-05
* Security risk: Moderately critical [2]
* Exploitable from: Remote
* Vulnerability: Cross Site Request Forgery

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

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

The module doesn't sufficiently verify writing requests (POST, PUT, DELETE)
with session cookie authentication, thereby exposing a Cross Site Request
Forgery vulnerability.

This vulnerability is mitigated by the fact that session based authentication
must be enabled for an endpoint.


-------- 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 6.x-3.x versions.
* Services 7.x-3.x versions prior to 7.x-3.4.

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 or uninstall the module.

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

Note that Services clients using session authentication now should supply a
special X-CSRF-Token header with a token that can be retrieved from
http://example.com/services/session/token [6]. This is needed for writing
HTTP methods calls (POST, PUT, DELETE).

Also see the Services [7] project page.

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

* Klaus Purer [8] of the Drupal Security Team
* Fredrik Lassen [9]

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

* Yuriy Gerasimov [10] the module maintainer

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

* Klaus Purer [11] 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 [12].

Learn more about the Drupal Security team and their policies [13], writing
secure code for Drupal [14], and securing your site [15].


[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/2012366
[6] http://example.com/services/session/token
[7] http://drupal.org/project/services
[8] http://drupal.org/user/262198
[9] http://drupal.org/user/243377
[10] http://drupal.org/user/257311
[11] http://drupal.org/user/262198
[12] http://drupal.org/contact
[13] http://drupal.org/security-team
[14] http://drupal.org/writing-secure-code
[15] http://drupal.org/security/secure-configuration

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

July 2017

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    2 Files
  • 2
    Jul 2nd
    3 Files
  • 3
    Jul 3rd
    15 Files
  • 4
    Jul 4th
    4 Files
  • 5
    Jul 5th
    15 Files
  • 6
    Jul 6th
    15 Files
  • 7
    Jul 7th
    10 Files
  • 8
    Jul 8th
    2 Files
  • 9
    Jul 9th
    10 Files
  • 10
    Jul 10th
    15 Files
  • 11
    Jul 11th
    15 Files
  • 12
    Jul 12th
    19 Files
  • 13
    Jul 13th
    16 Files
  • 14
    Jul 14th
    15 Files
  • 15
    Jul 15th
    3 Files
  • 16
    Jul 16th
    2 Files
  • 17
    Jul 17th
    8 Files
  • 18
    Jul 18th
    11 Files
  • 19
    Jul 19th
    15 Files
  • 20
    Jul 20th
    15 Files
  • 21
    Jul 21st
    15 Files
  • 22
    Jul 22nd
    7 Files
  • 23
    Jul 23rd
    0 Files
  • 24
    Jul 24th
    0 Files
  • 25
    Jul 25th
    0 Files
  • 26
    Jul 26th
    0 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    0 Files
  • 30
    Jul 30th
    0 Files
  • 31
    Jul 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2016 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close