- Advisory ID: DRUPAL-SA-CONTRIB-2014-121
- Project: Godwin’s Law (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
This module enables you to execute arbitrary Javascript by adding the script to the title of a node.
The module doesn’t sufficiently sanitize Watchdog messages when viewing the detail view of a specific Watchdog notification. It improperly translated the message rather than using proper Watchdog message syntax.
This vulnerability is mitigated by the fact that an attacker must have a role allowing them to create nodes or edit the title of an existing node. It is further mitigated in that the script is only executed by admins when viewing a Watchdog notice when using dblog module (syslog users are not affected).
CVE identifier(s) issued
- A CVE identifier will be requested, and added upon issuance, in accordance
with Drupal Security Team processes.
Versions affected
- Godwin’s Law 7.x-1.0.
Drupal core is not affected. If you do not use the contributed Godwin’s Law module,
there is nothing you need to do.
Solution
Install the latest version:
- If you use the Godwin’s Law module for Drupal 7.x, upgrade to Godwin’s Law 7.x-1.1
Also see the Godwin’s Law project page.
Reported by
Fixed by
- tobby the module maintainer
Coordinated by
- Greg Knaddison 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