[Security-news] SA-CONTRIB-2012-007 - Password Policy - Multiple vulnerabilities

security-news at drupal.org security-news at drupal.org
Wed Jan 11 20:41:38 UTC 2012


  * Advisory ID: DRUPAL-SA-CONTRIB-2012-007
  * Project: Password policy [1] (third-party module)
  * Version: 6.x
  * Date: 2012-January-11
  * Security risk: Moderately critical [2]
  * Exploitable from: Remote
  * Vulnerability: Cross Site Scripting, Cross Site Request Forgery

-------- DESCRIPTION  
---------------------------------------------------------

This module enables you to specify a certain level of password complexity
(aka. "password hardening") for user passwords on a system by defining a
policy.

.... Cross Site Request Forgery (CSRF)

Unblocking a user does not require sufficient confirmation by administrative
users and can be exploited with a specially crafted URL.

.... Cross Site Scripting (XSS)

The module doesn't sufficiently sanitize the name of password policies. This
vulnerability is mitigated by the fact that an attacker must have a role with
the permission "administer policies".

This issue also affects the 7.x branch which is only in beta release. Users
of non-stable releases are encouraged to upgrade frequently as those releases
are not covered by the Drupal Security Team policy [3].

-------- VERSIONS AFFECTED  
---------------------------------------------------

  * Password Policy 6.x-1.x versions prior to 6.x-1.4.

Drupal core is not affected. If you do not use the contributed Password
policy [4] module, there is nothing you need to do.

-------- SOLUTION  
------------------------------------------------------------

Install the latest version:

  * If you use the Password Policy module for Drupal 6.x, upgrade to Password
    Policy 6.x-1.4 [5].

Clear the site's cache:
visit Administer > Site Configuration > Performance and click "Clear cached
data."

See also the Password policy [6] project page.

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

  * Greg Knaddison [7] of the Drupal Security Team

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

  * Erik Webb [8] the module co-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 http://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].


[1] http://drupal.org/project/password_policy
[2] http://drupal.org/security-team/risk-levels
[3] http://drupal.org/security-advisory-policy
[4] http://drupal.org/project/password_policy
[5] http://drupal.org/node/1401654
[6] http://drupal.org/project/password_policy
[7] http://drupal.org/user/36762
[8] http://drupal.org/user/273404
[9] http://drupal.org/user/36762
[10] http://drupal.org/contact
[11] http://drupal.org/security-team
[12] http://drupal.org/writing-secure-code
[13] http://drupal.org/security/secure-configuration



More information about the Security-news mailing list