View online: https://www.drupal.org/node/2463835
* Advisory ID: DRUPAL-SA-CONTRIB-2015-090 * Project: Password policy [1] (third-party module) * Version: 6.x, 7.x * Date: 2015-April-01 * Security risk: 15/25 ( Critical) AC:Basic/A:None/CI:Some/II:Some/E:Theoretical/TD:Default [2] * Vulnerability: Cross Site Scripting
-------- DESCRIPTION ---------------------------------------------------------
The Password Policy module allows enforcing restrictions on user passwords by defining password policies.
The module doesn't sufficiently sanitize usernames in some administration pages, thereby exposing a Cross Site Scripting vulnerability.
This vulnerability is mitigated by the fact that only sites with a policy that uses the username constraint are affected. Also, only sites importing users from an external source (like distributed authentication) may allow non-standard usernames that might contain malicious characters, as Drupal core has validation when creating users via the user interface.
-------- CVE IDENTIFIER(S) ISSUED --------------------------------------------
* /A CVE identifier [3] will be requested, and added upon issuance, in accordance with Drupal Security Team processes./
-------- VERSIONS AFFECTED ---------------------------------------------------
* Password Policy 6.x-1.x versions prior to 6.x-1.11. * Password Policy 7.x-1.x versions prior to 7.x-1.11.
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 6.x-1.x module for Drupal 6.x, upgrade to Password Policy 6.x-1.11 [5] * If you use the Password Policy 7.x-1.x module for Drupal 7.x, upgrade to Password Policy 7.x-1.11 [6]
Also see the Password policy [7] project page.
-------- REPORTED BY ---------------------------------------------------------
* AohRveTPV [8], the module maintainer
-------- FIXED BY ------------------------------------------------------------
* AohRveTPV [9], the module maintainer
-------- COORDINATED BY ------------------------------------------------------
* Pere Orga [10] 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 [11].
Learn more about the Drupal Security team and their policies [12], writing secure code for Drupal [13], and securing your site [14].
Follow the Drupal Security Team on Twitter at https://twitter.com/drupalsecurity [15]
[1] https://www.drupal.org/project/password_policy [2] https://www.drupal.org/security-team/risk-levels [3] http://cve.mitre.org/ [4] https://www.drupal.org/project/password_policy [5] https://www.drupal.org/node/2463329 [6] https://www.drupal.org/node/2463327 [7] https://www.drupal.org/project/password_policy [8] https://www.drupal.org/user/aohrveptv [9] https://www.drupal.org/user/aohrvetpv [10] https://www.drupal.org/user/2301194 [11] https://www.drupal.org/contact [12] https://www.drupal.org/security-team [13] https://www.drupal.org/writing-secure-code [14] https://www.drupal.org/security/secure-configuration [15] https://twitter.com/drupalsecurity