- Advisory ID: DRUPAL-SA-CONTRIB-2017-053
- Project: Search 404 (third-party module)
- Version: 7.x
- Date: 2017-June-21
- Security risk: 13/25 ( Moderately Critical) AC:Basic/A:Admin/CI:Some/II:Some/E:Theoretical/TD:All
- Vulnerability: Cross Site Scripting
Description
The Search 404 module enables you to redirect 404 pages to a search page on the site for the keywords in the url that was not found.
The module did not filter administrator-provided text before displaying it to the user on the 404 page creating a Cross Site Scripting (XSS) vulnerability.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission "administer search".
CVE identifier(s) issued
- A CVE identifier will be requested, and added upon issuance, in accordance with Drupal Security Team processes.
Versions affected
- Search 404 7.x-1.x versions prior to 7.x-1.5.
Drupal core is not affected. If you do not use the contributed Search 404 module, there is nothing you need to do.
Solution
Install the latest version:
- If you use the Search 404 module for Drupal 7.x, upgrade to Search 404 7.x-1.5
Also see the Search 404 project page.
Reported by
Fixed by
- Anoop John the module maintainer
- Sean Hamlin the reporter
Coordinated by
- Greg Knaddison of the Drupal Security Team
- Michael Hess 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