Advisory Details

January 25th, 2019

Drupal Phar File Parsing Deserialization of Untrusted Data Remote Code Execution Vulnerability

ZDI-19-130
ZDI-CAN-7232

CVE ID CVE-2019-6339
CVSS SCORE 6.8, AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS Drupal
AFFECTED PRODUCTS Drupal 8
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Drupal. Authentication is required to exploit this vulnerability.

The specific flaw exists within the handling of Phar archives. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the web server.

ADDITIONAL DETAILS Drupal has issued an update to correct this vulnerability. More details can be found at:
https://www.drupal.org/sa-core-2019-002
DISCLOSURE TIMELINE
  • 2018-09-10 - Vulnerability reported to vendor
  • 2019-01-25 - Coordinated public release of advisory
CREDIT Sam Thomas
BACK TO ADVISORIES