• Advisory ID: DRUPAL-SA-CONTRIB-2012-104
  • Project: Privatemsg (third-party module)
  • Version: 7.x
  • Date: 2012-June-20
  • Security risk: Moderately critical
  • Exploitable from: Remote
  • Vulnerability: Cross Site Scripting

Description

The Privatemsg module allows users to send private messages between to each other. The module doesn't sufficiently sanitize user names when creating messages.

This vulnerability is mitigated by the fact that it is not possible to create insecure user names through the default user interface. The exploit is only possible in combination with another module that allows this, such as Realname which allows site-builders to choose fields to display an alternative username.

CVE: CVE-2012-4468

Versions affected

  • Privatemsg 7.x-1.x versions prior to 7.x-1.3

Drupal core is not affected. If you do not use the contributed Privatemsg module, there is nothing you need to do.

Solution

Install the latest version:

Also see the Privatemsg project page.

Reported by

Fixed by

Coordinated by

Contact and More Information

The Drupal security team can be reached at security at drupal.org or via the contact form at http://drupal.org/contact.

Learn more about the Drupal Security team and their policies, writing secure code for Drupal, and securing your site.