- Advisory ID: DRUPAL-SA-CONTRIB-2015-065
- Project: Registration codes (third-party module)
- Version: 6.x, 7.x
- Date: 2015-March-04
- Security risk: 16/25 ( Critical) AC:Basic/A:None/CI:Some/II:Some/E:Theoretical/TD:All
- Vulnerability: Cross Site Scripting, Cross Site Request Forgery
Description
Registration codes module allows new account registrations only for users who provide a valid registration code.
The module was not properly sanitizing user supplied text in some pages, thereby exposing XSS vulnerabilities.
Additionally, some URLs were not protected against CSRF, a malicious user can cause an administrator to delete rules by getting their browser to make a request to a specially-crafted URL.
The XSS vulnerabilities may be mitigated by the fact that an attacker must have a user allowed to create/edit taxonomy terms or nodes.
CVE identifier(s) issued
- A CVE identifier will be requested, and added upon issuance, in accordance with Drupal Security Team processes.
Versions affected
- All versions of Registration codes
Drupal core is not affected. If you do not use the contributed Registration codes module, there is nothing you need to do.
Solution
If you use the Registration codes module you should uninstall it.
Also see the Registration codes project page.
Reported by
- Pere Orga of the Drupal Security Team
Fixed by
Not applicable.
Coordinated by
- Pere Orga 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