Drupal Remote code execution
Impact
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 /vendor/phpunit directory from your production deployments
Source excerpt · OSVThis is mitigated by the default .htaccess protection against PHP execution, and the fact that Composer development dependencies aren't normal installed.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 8.0 before 8.2.7Ecosystem versions | 8.2.7 |
Version evidence: OSV · GHSA-rhx9-3qf7-r3j7
View original version evidence (48 explicit versions)
| Affected range | Recorded fix |
|---|---|
| From 8.0 before 8.2.7Ecosystem versions | 8.2.7 |
Version evidence: OSV · GHSA-rhx9-3qf7-r3j7
View original version evidence (54 explicit versions)
Original source description
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
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2017-6381
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2017-6381.yaml
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2017-6381.yaml
- Source reference github.com/drupal/core
- Source reference www.drupal.org/SA-2017-001
- Source reference www.securityfocus.com/bid/96919
- Source reference www.securitytracker.com/id/1038058