- Advisory ID: DRUPAL-SA-CONTRIB-2017-057
- Project: DrupalChat (third-party module)
- Version: 7.x
- Date: 2017-July-05
- 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
UPDATE (2017-07-12): This SA originally recommended version 2.6, but it was incorrectly tagged. We've updated the SA to recommend version 2.7. Sorry for the confusion!
DrupalChat allows visitors of your Drupal site to chat with each other privately or together in a public chatroom.
The module did not confirm the validity of a chat request, resulting in a Cross Site Request Forgery (CSRF) vulnerability which enables an attacker to trick a user to send arbitrary chat messages to any user.
The module did not filter administrator provided text, leading to a Cross Site Scripting (XSS) vulnerability.
CVE identifier(s) issued
- A CVE identifier will be requested, and added upon issuance, in accordance with Drupal Security Team processes.
Versions affected
- DrupalChat 7.x-2.x versions prior to 7.x-2.7.
Drupal core is not affected. If you do not use the contributed DrupalChat module, there is nothing you need to do.
Solution
Install the latest version:
- If you use the DrupalChat module for Drupal 7.x, upgrade to DrupalChat 7.x-2.7
Also see the DrupalChat project page.
Reported by
Fixed by
- Shashwat Srivastava the module maintainer
Coordinated by
- Michael Hess of the Drupal Security Team
- Greg Knaddison 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