SA-CONTRIB-2014-121 – Godwin's Law – Cross-Site Scripting (XSS)

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:

Also see the Godwin’s Law project page.

Reported by

Fixed by

  • tobby the module maintainer

Coordinated by

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

Drupal version: 

Leave a Reply