CVE-2017-6381
Drupal Remote code execution
Also known as GHSA-rhx9-3qf7-r3j7
Published 9 y ago · modified 4 mo ago · JSON
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 by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| packagist | drupal/core | >=8.0, <8.2.7 | 8.2.7 |
| packagist | drupal/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
- CVE List: CVE-2017-6381
- GitHub Advisory: GHSA-rhx9-3qf7-r3j7
- NVD: CVE-2017-6381
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.