- Advisory ID: DRUPAL-SA-CONTRIB-2015-172
- Project: Values (third-party module)
- Version: 7.x
- Date: 2015-December-16
- Security risk: 16/25 ( Critical) AC:Basic/A:Admin/CI:All/II:All/E:Proof/TD:Uncommon
- Vulnerability: Arbitrary PHP code execution
Description
This module enables you to create key|value pairs for use in list fields, webforms etc.
The module includes an import page that runs eval()
on an exported code block (ctools), but the permission for the page does not warn about security concerns of importing raw php code like this (trusted permission).
This vulnerability is mitigated by the fact that an attacker must have a role with the permission “import value sets”.
CVE identifier(s) issued
- A CVE identifier will be requested, and added upon issuance, in accordance with Drupal Security Team processes.
Versions affected
- Values 7.x-1.x versions prior to 7.x-1.2.
Drupal core is not affected. If you do not use the contributed Values module, there is nothing you need to do.
Solution
Install the latest version:
- If you use the values module for Drupal 7.x, upgrade to Values 7.x-1.2
Also see the Values project page.
Reported by
Fixed by
- Chris Eastwood the module maintainer
Coordinated by
- Greg Knaddison of the Drupal Security Team
- Michael 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