- Advisory ID: DRUPAL-SA-CONTRIB-2015-048
- Project: Avatar Uploader (third-party module)
- Version: 6.x, 7.x
- Date: 2015-February-18
- Security risk: 16/25 ( Critical) AC:None/A:User/CI:Some/II:Some/E:Theoretical/TD:All
- Vulnerability: Arbitrary PHP code execution
Description
Avatar Uploader module provides an alternative way to upload user pictures.
The module doesn’t sufficiently enforce file extensions when an avatar is uploaded, allowing users to bypass Drupal’s normal file upload protections to install malicious HTML or executable code to the server.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission “upload avatar file”, and that the fix for SA-2006-006 – Drupal Core – Execution of arbitrary files in certain Apache configurations should prevent code execution in typical Apache configurations.
CVE identifier(s) issued
- A CVE identifier will be requested, and added upon issuance, in accordance
with Drupal Security Team processes.
Versions affected
- Avatar Uploader 6.x-1.x versions prior to 6.x-1.3.
Drupal core is not affected. If you do not use the contributed Avatar Uploader module,
there is nothing you need to do.
Solution
Install the latest version:
- If you use the Avatar Uploader module for Drupal 6.x, upgrade to Avatar Uploader 6.x-1.3
Also see the Avatar Uploader project page.
Reported by
Fixed by
- Robbin Gaoxin Zhao, the module maintainer
Coordinated by
- Pere Orga 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