- Advisory ID: DRUPAL-SA-CONTRIB-2013-042
- Project: RESTful Web Services (third-party module)
- Version: 7.x
- Date: 2013-April-10
- Security risk: Critical
- Exploitable from: Remote
- Vulnerability: Denial of Service
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 interferes with Drupal's page cache and allows an attacker to poison the cache with non-HTML page responses, thereby exposing a denial of service vulnerability.
This vulnerability is mitigated by the fact that page caching must be enabled and the anonymous user role must be assigned a RESTWS permission, for example "access resource node".
CVE identifier(s) issued
- CVE-2013-1946
Versions affected
- RESTWS 7.x-1.x versions prior to 7.x-1.3.
- RESTWS 7.x-2.x versions prior to 7.x-2.0-alpha5.
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:
- If you use the RESTWS 1.x module for Drupal 7.x, upgrade to RESTWS 7.x-1.3
- If you use the RESTWS 2.x module for Drupal 7.x, upgrade to RESTWS 7.x-2.0-alpha5
Also see the RESTful Web Services project page.
Reported by
- Dylan Tack of the Drupal Security Team
Fixed by
- Klaus Purer the module maintainer
- Stéphane Corlosquet of the Drupal Security Team
Coordinated by
- Klaus Purer 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.
Learn more about the Drupal Security team and their policies, writing secure code for Drupal, and securing your site.