- Advisory ID: DRUPAL-SA-CONTRIB-2014-123
- Project: Postal Code (third-party module)
- Version: 7.x
- Date: 2014-December-10
- Security risk: 14/25 ( Moderately Critical) AC:Basic/A:User/CI:Some/II:Some/E:Theoretical/TD:All
- Vulnerability: Cross Site Scripting
Description
The Postal Code module enables you to implement postal code validation for several countries.
The module doesn’t sufficiently sanitize certain data in the admin thereby opening a Cross Site Scripting (XSS) vulnerability.
This vulnerability is mitigated by the fact that an attacker must have a role with a permission that allows adding or editing fields to entity types such as “administer taxonomy terms” or “administer content types”.
CVE identifier(s) issued
- A CVE identifier will be requested, and added upon issuance, in accordance
with Drupal Security Team processes.
Versions affected
- Postal Code 7.x-1.x versions prior to 7.x-1.9.
Drupal core is not affected. If you do not use the contributed Postal Code module,
there is nothing you need to do.
Solution
Install the latest version:
- If you use the Postal Code module for Drupal 7.x, upgrade to Postal Code 7.x-1.9
Also see the Postal Code project page.
Reported by
- Matt Vance (provisional member of the Drupal Security Team)
Fixed by
- Jeremy Edgell the module maintainer
- Matt Vance (provisional member of the Drupal Security Team)
Coordinated by
- Lee Rowlands of the Drupal Security Team
- Ben Dougherty provisional member 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