• Advisory ID: DRUPAL-SA-CONTRIB-2012-023
  • Project: Frequently Asked Questions (third-party module)
  • Version: 6.x
  • Date: 2012-February-22
  • Security risk: Moderately critical
  • Exploitable from: Remote
  • Vulnerability: Cross Site Scripting

Description

CVE: CVE-2012-1646

The Frequently Asked Questions (faq) module allows users, with the appropriate permissions, to create question and answer pairs which are displayed on the 'faq' page, and in the random and recent FAQ blocks. The module does not sanitize some of the user-supplied data before displaying it, leading to a Cross Site Scripting (XSS) vulnerability. This vulnerability is mitigated by the fact that the attacker must have a role with the 'administer faq', 'create faq', 'edit faq' or 'edit own faq' permissions. If using the FAQ module with the FAQ Ask module, the attacker may also exploit the vulnerability if they have the 'ask question' permission.

Versions affected

  • Frequently Asked Questions 6.x-1.x versions prior to 6.x-1.13.

Drupal core is not affected. If you do not use the contributed Frequently Asked Questions module, there is nothing you need to do.

Solution

Install the latest version:

  • If you use the FAQ module for Drupal 6.x, upgrade to FAQ 6.x-1.13

See also the Frequently Asked Questions project page.

Reported by

Fixed by

  • Stella Power the module maintainer and member 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.

Learn more about the Drupal Security team and their policies, writing secure code for Drupal, and securing your site.