- Advisory ID: DRUPAL-SA-CONTRIB-2015-014
- Project: Wishlist Module (third-party module)
- Version: 6.x, 7.x
- Date: 2015-January-14
- Security risk: 16/25 ( Critical) AC:Basic/A:None/CI:Some/II:Some/E:Theoretical/TD:All
- Vulnerability: Cross Site Scripting, Cross Site Request Forgery
Description
The Wishlist module enables authorized users to create wishlist nodes which describe items they would like for a special occasion. Also, it allows users to indicate their intention to purchase items for other users.
The module fails to sanitize user input in log messages, leading to a Cross Site Scripting (XSS) vulnerability. This vulnerability is mitigated by the fact that an attacker must have a role with the permission “access wishlists”, and that only sites with dblog module enabled are affected (dblog module is enabled by default).
Also, the paths to manage wishlist purchase intentions do not confirm the intent of a user. A malicious user could cause another user to delete wishlist purchase intentions by getting their browser to make a request to a specially-crafted URL, a Cross-Site Request Forgery (CSRF).
CVE identifier(s) issued
- A CVE identifier will be requested, and added upon issuance, in accordance
with Drupal Security Team processes.
Versions affected
- Wishlist 7.x-2.x versions prior to 7.x-2.7.
- Wishlist 6.x-2.x versions prior to 6.x-2.7.
Drupal core is not affected. If you do not use the contributed Wishlist Module module,
there is nothing you need to do.
Solution
Install the latest version:
- If you use the Wishlist module for Drupal 7.x, upgrade to Wishlist 7.x-2.7.
- If you use the Wishlist module for Drupal 6.x, upgrade to Wishlist 6.x-2.7.
Also see the Wishlist Module project page.
Reported by
- Pere Orga provisional member of the Drupal Security Team
Fixed by
- Adrian Bateman the module co-maintainer
Coordinated by
- Pere Orga 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