- Advisory ID: DRUPAL-SA-CONTRIB-2015-052
- Project: RESTful Web Services (third-party module)
- Version: 7.x
- Date: 2015-February-18
- Security risk: 12/25 ( Moderately Critical) AC:Basic/A:None/CI:Some/II:None/E:Theoretical/TD:Default
- Vulnerability: Access bypass
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 RESTWS Basic Auth submodule doesn’t sufficiently disable page caching for authenticated requests thereby leaking potentially confidential data to unauthorized users.
This vulnerability is mitigated by the fact that the RESTWS Basic Auth submodule must be enabled, page caching must be enabled and permissions for a resource containing sensitive data must be enabled (for example the User resource).
CVE identifier(s) issued
- A CVE identifier will be requested, and added upon issuance, in accordance
with Drupal Security Team processes.
Versions affected
- RESTWS 7.x-1.x versions prior to 7.x-1.5.
- RESTWS 7.x-2.x versions prior to 7.x-2.3.
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 module for Drupal 7.x, upgrade to RESTWS 7.x-1.5 or RESTWS 7.x-2.3
Also see the RESTful Web Services project page.
Reported by
Fixed by
- Klaus Purer the module maintainer and member 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 https://www.drupal.org/contact.
Learn more about the Drupal Security team and their policies, writing secure code for Drupal, and securing your site.
Follow the Drupal Security Team on Twitter at https://twitter.com/drupalsecurity