• Advisory ID: DRUPAL-SA-CONTRIB-2013-003
  • Project: RESTful Web Services (third-party module)
  • Version: 7.x
  • Date: 2013-January-16
  • Security risk: Moderately critical
  • Exploitable from: Remote
  • Vulnerability: Cross Site Request Forgery

Description

This module enables you to expose Drupal entities as RESTful web services. It provides a machine-readable interface to exchange resources in JSON, XML and RDF.

The module doesn't sufficiently verify POST requests thereby exposing a Cross Site Request Forgery vulnerability.

This vulnerability is mitigated by the fact that an attacker must trick an authenticated user onto a prepared page that leverages a weakness in certain browser plugins.

CVE identifier(s) issued

  • CVE-2013-0205

Versions affected

  • RESTWS 7.x-1.x versions prior to 7.x-1.2.
  • RESTWS 7.x-2.x versions prior to 7.x-2.0-alpha4.

Drupal core is not affected. If you do not use the contributed RESTful Web Services module, there is nothing you need to do.

Solution

Install the latest version:

Also see the RESTful Web Services project page.

Reported by

Fixed by

Coordinated by

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.

Learn more about the Drupal Security team and their policies, writing secure code for Drupal, and securing your site.