[Security-news] SA-CONTRIB-2014-121 - Godwin's Law - Cross-Site Scripting (XSS)

security-news at drupal.org security-news at drupal.org
Wed Dec 10 22:20:47 UTC 2014


View online: https://www.drupal.org/node/2390839

   * Advisory ID: DRUPAL-SA-CONTRIB-2014-121
   * Project: Godwin's Law [1]     (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 [2]
   * 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 [3] 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
[4] 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 [5]

Also see the Godwin's Law [6] project page.

-------- REPORTED BY
---------------------------------------------------------

   * Pere Orga  [7]

-------- FIXED BY
------------------------------------------------------------

   * tobby [8] the module maintainer

-------- COORDINATED BY
------------------------------------------------------

   * Greg Knaddison [9] 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 [10].

Learn more about the Drupal Security team and their policies [11], writing
secure code for Drupal [12], and  securing your site [13].

Follow the Drupal Security Team on Twitter at
https://twitter.com/drupalsecurity [14]


[1] https://www.drupal.org/project/godwins_law
[2] https://www.drupal.org/security-team/risk-levels
[3] http://cve.mitre.org/
[4] https://www.drupal.org/project/godwins_law
[5] https://www.drupal.org/node/2390191
[6] https://www.drupal.org/project/godwins_law
[7] https://www.drupal.org/u/pere-orga
[8] https://www.drupal.org/u/tobby
[9] https://www.drupal.org/user/36762
[10] https://www.drupal.org/contact
[11] https://www.drupal.org/security-team
[12] https://www.drupal.org/writing-secure-code
[13] https://www.drupal.org/security/secure-configuration
[14] https://twitter.com/drupalsecurity



More information about the Security-news mailing list