- Advisory ID: DRUPAL-SA-CONTRIB-2011-010
- Project: Messaging (third-party module)
- Version: 6.x
- Date: 2011-February-16
- Security risk: Moderately critical
- Exploitable from: Remote
- Vulnerability: Cross Site Scripting
The Messaging module is a Framework to allow message sending in a channel independent way. It provides a common API for message composition and sending while allowing plug-ins for multiple messaging methods.
The module does not sanitize some of the user-supplied data before displaying it, leading to a Cross Site Scripting (XSS) vulnerability that may lead to a malicious user gaining full administrative access.
This vulnerability is mitigated by the fact that the attacker must have a role with the 'administer messaging' permission which should generally only be granted to trusted roles.
Versions affected
- Messaging module for Drupal 6.x versions prior to 6.x-2.4 and 6.x-4.0-beta8
Drupal core is not affected. If you do not use the contributed Messaging module, there is nothing you need to do.
Solution
Install the latest version:
- If you use the Messaging module version 6.x-2.x upgrade to Messaging 6.x-2.4
- If you use the Messaging module version 6.x-4.x upgrade to Messaging 6.x-4.0-beta8
See also the Messaging project page.
Reported by
Fixed by
- Jose Reyero, module maintainer
Contact
The Drupal security team can be reached at security at drupal.org or via the form at http://drupal.org/contact.