Arbitrary File Upload Affecting drupal/core package, versions >=8, <8.3.4


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.91% (83rd percentile)
Expand this section
NVD
5.9 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-DRUPALCORE-70061
  • published 21 Jun 2017
  • disclosed 21 Jun 2017
  • credit Samuel Mortenson

How to fix?

Upgrade drupal/core to version 8.3.4 or higher.

Overview

Affected versions of drupal/core are vulnerable to Arbitrary File Upload.

The file REST resource does not properly validate some fields when manipulating files. A site is only affected by this if the site has the RESTful Web Services (rest) module enabled, the file REST resource is enabled and allows PATCH requests, and an attacker can get or register a user account on the site with permissions to upload files and to modify the file resource.