- Advisory ID: DRUPAL-SA-CONTRIB-2017-044
- Project: Media (third-party module)
- Version: 7.x
- Date: 2017-May-10
- Security risk: 16/25 ( Critical) AC:Complex/A:User/CI:All/II:All/E:Theoretical/TD:Default
- Vulnerability: Information Disclosure, Arbitrary PHP code execution, Multiple vulnerabilities
Description
This module provides intuitive ways to manage large libraries of media, insert or display or import various types of media either through fields or a wysiwyg interface.
Versions of this module prior to 7.x-2.1 or 7.x-3.0-alpha5 did not sufficiently whitelist input parameters for the media browser.
This vulnerability in the versions of media prior to those aforementioned is mitigated by the fact that an attacker must have a role with the permission upload files and view media browser.
Versions affected
- Media 7.x-2.x versions prior to 7.x-2.1.
- Media 7.x-3.x versions prior to 7.x-3.0-alpha4.
Drupal core is not affected. If you do not use the contributed Media module, there is nothing you need to do.
Solution
Install the latest version:
- If you use the media module, it is recommended to upgrade to media version 7.x-2.1 (stable) or to 7.x-3.0-alpha5 (cutting edge) or newer.
Also see the Media project page.
Reported by
Fixed by
- Joseph Olstad the module maintainer
- Richard Thomas of the Drupal Security Team
Coordinated by
- 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