- Advisory ID: DRUPAL-SA-CONTRIB-2012-139
- Project: PDFThumb (third-party module)
- Version: 7.x
- Date: 2012-September-12
- Security risk: Moderately critical
- Exploitable from: Remote
- Vulnerability: OS Injection
Description
PDFThumb module creates thumbnail images of PDF files.
The module doesn't sufficiently escape user-entered values when executing commands on the server allowing an attacker to execute whatever commands are available to the web server user (e.g. www-data).
This vulnerability is mitigated by the fact that an attacker must have a role with the permission "Administer PDFThumb".
CVE: Requested
Versions affected
- PDFThumb 7.x-1.x versions prior to 7.x-1.1
Drupal core is not affected. If you do not use the contributed PDFThumb module, there is nothing you need to do.
Solution
Install the latest version:
- If you use the PDFThumb module for Drupal 7.x, upgrade to PDFThumb 7.x-1.1
Also see the PDFThumb project page.
Reported by
- Matt Kleve of the Drupal Security Team
- mdespeuilles, the module maintainer
Fixed by
- Matt Kleve of the Drupal Security Team
- mdespeuilles, the module maintainer
Coordinated by
- Greg Knaddison of the Drupal Security Team
- Matt Kleve 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.