- Advisory ID: DRUPAL-SA-CONTRIB-2015-053
- Project: Entity API (third-party module)
- Version: 7.x
- Date: 2015-February-25
- Security risk: 12/25 ( Moderately Critical) AC:Complex/A:Admin/CI:Some/II:Some/E:Theoretical/TD:All
- Vulnerability: Cross Site Scripting
Description
The Entity API module extends the entity API of Drupal core in order to provide a unified way to deal with entities and their properties.
The module doesn’t sufficiently sanitize field labels when exposing them through the Token API thereby exposing a Cross Site Scripting (XSS) vulnerability.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission to administer fields such as “administer taxonomy”.
CVE identifier(s) issued
- A CVE identifier will be requested, and added upon issuance, in accordance
with Drupal Security Team processes.
Versions affected
- Entity API 7.x-1.x versions prior to 7.x-1.6.
Drupal core is not affected. If you do not use the contributed Entity API module,
there is nothing you need to do.
Solution
Install the latest version:
- If you use the Entity API module for Drupal 7.x, upgrade to Entity API 7.x-1.6
Also see the Entity API project page.
Reported by
Fixed by
- Klaus Purer of the Drupal Security Team
- Francisco José Cruz Romanos
- Wolfgang Ziegler the module maintainer
Coordinated by
- Klaus Purer of the Drupal Security Team
- Rick Manelius 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