- Advisory ID: DRUPAL-SA-CONTRIB-2017-024
- Project: RESTful Web Services (third-party module)
- Version: 7.x
- Date: 2017-March-01
- Security risk: 12/25 ( Moderately Critical) AC:Basic/A:None/CI:Some/II:None/E:Theoretical/TD:Default
- Vulnerability: Information Disclosure
Description
RestWS makes Drupal Entity data available in a REST API.
The module doesn’t sufficiently check for access to properties when filtering queries.
This vulnerability is mitigated by the fact that an attacker must have a role that allows them to access an entity type with access-controlled properties. And the attacker can only query on the property equalling a value supplied by the attacker.
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-2.x versions prior to 7.x-2.7.
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 2.x module for Drupal 7.x, upgrade to restws 7.x-2.7
Also see the RESTful Web Services project page.
Reported by
- Neil Drumm of the Drupal Security Team
Fixed by
- Neil Drumm of the Drupal Security Team
Coordinated by
- Micheal Hess 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