[Security-news] Webform Multiple File Upload - Critical - Remote Code Execution - SA-CONTRIB-2016-038

security-news at drupal.org security-news at drupal.org
Wed Jul 13 16:00:17 UTC 2016


View online: https://www.drupal.org/node/2765573

   * Advisory ID: DRUPAL-SA-CONTRIB-2016-038
   * Project: Webform Multiple File Upload [1]     (third-party module)
   * Version: 7.x
   * Date: 2016-July-13
   * Security risk: 17/25 ( Critical)
     AC:Basic/A:User/CI:All/II:All/E:Theoretical/TD:Default [2]
   * Vulnerability: Arbitrary PHP code execution

-------- DESCRIPTION
---------------------------------------------------------

The Webform Multiple File Upload module allows users to upload multiple files
on a Webform.

The Webform Multifile File Upload module contains a Remote Code Execution
(RCE) vulnerability where form inputs will be unserialized and a specially
crafted form input may trigger arbitrary code execution depending on the
libraries available on a site.

This vulnerability is mitigated by the fact that an attacker must have the
ability to submit a Webform with a Multiple File Input field. Further, a site
must have an object defined with methods that are invoked at wake/destroy
that include code that can be leveraged for malicious purposes. Drupal 7 Core
contains one such class which can be used to delete arbitrary files, but
contributed or custom classes may include methods that can be leveraged for
RCE.

/Note: this vulnerability exists in the Webform Multiple File Upload
(webform_multifile) module. There is a similarly named module Webform
Multiple File (webform_multiple_file) which is not related to this issue./


-------- CVE IDENTIFIER(S) ISSUED
--------------------------------------------

   * /A CVE identifier [3] will be requested, and added upon issuance, in
     accordance with Drupal Security Team processes./

-------- VERSIONS AFFECTED
---------------------------------------------------

Webform Multifile 7.x-1.x versions prior to 7.x-1.4

Drupal core is not affected. If you do not use the contributed Webform
Multiple File Upload [4] module, there is nothing you need to do.

-------- SOLUTION
------------------------------------------------------------

Install the latest version:

   * If you use the Webform Multifile module for Drupal 7.x, upgrade to 
Webform
     Multiple File Upload 7.x-1.4 [5]

Also see the Webform Multiple File Upload [6] project page.

-------- REPORTED BY
---------------------------------------------------------

   * Ben Dougherty [7] of the Drupal Security Team

-------- FIXED BY
------------------------------------------------------------

   * Jelle Sebreghts [8] the module maintainer
   * Peter Droogmans [9] the module maintainer

-------- COORDINATED BY
------------------------------------------------------

   * Ben Dougherty [10] of the Drupal Security Team
   * Greg Knaddison [11] 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 [12].

Learn more about the Drupal Security team and their policies [13], writing
secure code for Drupal [14], and  securing your site [15].

Follow the Drupal Security Team on Twitter at
https://twitter.com/drupalsecurity [16]


[1] https://www.drupal.org/project/webform_multifile
[2] https://www.drupal.org/security-team/risk-levels
[3] http://cve.mitre.org/
[4] https://www.drupal.org/project/webform_multifile
[5] https://www.drupal.org/project/webform_multifile/releases/7.x-1.4
[6] https://www.drupal.org/project/webform_multifile
[7] https://www.drupal.org/user/1852732
[8] https://www.drupal.org/user/829198
[9] https://www.drupal.org/user/105002
[10] https://www.drupal.org/user/1852732
[11] https://www.drupal.org/user/36762
[12] https://www.drupal.org/contact
[13] https://www.drupal.org/security-team
[14] https://www.drupal.org/writing-secure-code
[15] https://www.drupal.org/security/secure-configuration
[16] https://twitter.com/drupalsecurity



More information about the Security-news mailing list