[Security-news] Services - Critical - Arbitrary Code Execution - SA-CONTRIB-2017-029

security-news at drupal.org security-news at drupal.org
Wed Mar 8 17:30:09 UTC 2017


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

   * Advisory ID: DRUPAL-SA-CONTRIB-2016-029
   * Project: Services [1]     (third-party module)
   * Version: 7.x
   * Date: 2017-March-08
   * Security risk: 21/25 ( Highly Critical)
     AC:None/A:None/CI:All/II:All/E:Theoretical/TD:Default [2]
   * Vulnerability: Arbitrary PHP code execution

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

This module provides a standardized solution for building API's so that
external clients can communicate with Drupal.

The module accepts user submitted data in PHP's serialization format
("Content-Type: application/vnd.php.serialized") which can lead to arbitrary
remote code execution.

This vulnerability is mitigated by the fact that an attacker must know your
Service Endpoint's path, and your Service Endpoint must have
"application/vnd.php.serialized" enabled as a request parser.


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

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

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

   * Services 7.x-3.x versions prior to 7.x-3.19.

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

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

Install the latest version:

   * If you use the Services 3.x module for Drupal 7.x, upgrade to Services
     7.x-3.19 [5]

You may disable "application/vnd.php.serialized" under "Request parsing" in
Drupal to prevent the exploit:
/admin/structure/services/list/[my-endpoint]/server

However, installing the latest version of the Services module is highly
recommended.

Also see the Services [6] project page.

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

   * Charles Fol [7]

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

   * Kyle Browning [8], module maintainer
   * Tyler Frankenstein [9], module maintainer

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

   * Klaus Purer [10]  of the Drupal Security Team
   * Michael Hess [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/services
[2] https://www.drupal.org/security-team/risk-levels
[3] http://cve.mitre.org/
[4] https://www.drupal.org/project/services
[5] https://www.drupal.org/project/services/releases/7.x-3.19
[6] https://www.drupal.org/project/services
[7] https://www.drupal.org/user/3520095
[8] https://www.drupal.org/user/211387
[9] https://www.drupal.org/user/150680
[10] https://www.drupal.org/user/262198
[11] https://www.drupal.org/user/102818
[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