8.1high

CVE-2017-6381

Drupal Remote code execution

Also known as GHSA-rhx9-3qf7-r3j7

Published 9 y ago · modified 4 mo ago · JSON

CVSS
8.1
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
3.9%
percentile 90%
Public exploits
0
none known

Summary

A 3rd party development library including with Drupal 8 development dependencies is vulnerable to remote code execution. This is mitigated by the default .htaccess protection against PHP execution, and the fact that Composer development dependencies aren't normal installed. You might be vulnerable to this if you are running a version of Drupal before 8.2.2. To be sure you aren't vulnerable, you can remove the <siteroot>/vendor/phpunit directory from your production deployments

Exploit prediction (EPSS)

3.90% probability of exploitation in the next 30 days, higher than 90% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.08.1CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD2.06.8AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub3.08.1CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

EcosystemPackageAffectedFixed in
packagistdrupal/core
>=8.0, <8.2.7
8.2.7
packagistdrupal/drupal
>=8.0, <8.2.7
8.2.7

Affected products

  • Drupal Drupal Core

Classification

Weakness
  • CWE-829 Inclusion of Functionality from Untrusted Control Sphere

References

  • securitytracker.com /id/1038058 · vdb-entry, x_refsource_SECTRACK, x_transferred
  • drupal.org /SA-2017-001 · x_refsource_CONFIRM, x_transferred
  • securityfocus.com /bid/96919 · vdb-entry, x_refsource_BID, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2017-6381 · advisory
  • github.com /FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2017-6381.yaml · web
  • github.com /FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2017-6381.yaml · web
  • github.com /drupal/core · package

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.