PHP code injection in Drupal - CVE-2017-6381

 

PHP code injection in Drupal - CVE-2017-6381

Published: March 17, 2017 / Updated: March 24, 2017


Vulnerability identifier: #VU6110
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2017-6381
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Drupal
Affected software:
Drupal

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary PHP code on the target system.

The vulnerability exists due to usage of a 3rd party development library in Drupal before 8.2.2. A remote attacker send a specially crafted request to /vendor/phpunit URL and execute arbitrary PHP code on the server.


How to mitigate CVE-2017-6381

Update to version 8.2.7.

Sources