• Advisory ID: DRUPAL-SA-CONTRIB-2013-006
  • Project: Video (third-party module)
  • Version: 7.x
  • Date: 2013-January-23
  • Security risk: Less critical
  • Exploitable from: Remote
  • Vulnerability: Arbitrary PHP code execution

Description

The video module enables you to upload video and audio files and transcode them into other formats and sizes using other tools like FFmpeg or Zencoder.

The module saves information about the FFmpeg executable in a temporary PHP file, but doesn't check if the file has been tampered with when reading the file, allowing any PHP code in that file to be executed.

This vulnerability is mitigated by the fact that an attacker must have write access to the temporary PHP file (something which is not known to be possible via the module itself). Sites not using the FFmpeg transcoder are only vulnerable if the attacker has the 'administer site configuration' permission in order to change the transcoder to FFmpeg.

CVE identifier(s) issued

  • CVE-2013-0224

Versions affected

  • Video 7.x-2.x versions prior to 7.x-2.9.

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

Solution

Install the latest version:

  • If you use the Video module for Drupal 7.x, upgrade to Video 7.x-2.9

Also see the Video project page.

Reported by

Fixed by

Coordinated by

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.