CVE-2018-7602: Drupal Core Remote Code Execution Vulnerability
A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. This potentially allows attackers to exploit multiple attack vectors on a Drupal site, which could result in the site being compromised. This vulnerability is related to Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-002. Both SA-CORE-2018-002 and this vulnerability are being exploited in the wild.
Other sources
A remote code execution vulnerability exists within multiple subsystems of Drupal that can allow attackers to exploit multiple attack vectors on a Drupal site.
— CISA
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/drupal/drupalto a version that resolves this vulnerability.Fixed in 8.5.3 - Upgrade
Upgrade
composer/drupal/drupalto a version that resolves this vulnerability.Fixed in 8.4.8 - Upgrade
Upgrade
composer/drupal/drupalto a version that resolves this vulnerability.Fixed in 7.59 - Upgrade
Upgrade
composer/drupal/coreto a version that resolves this vulnerability.Fixed in 8.5.3 - Upgrade
Upgrade
composer/drupal/coreto a version that resolves this vulnerability.Fixed in 8.4.8 - Upgrade
Upgrade
composer/drupal/coreto a version that resolves this vulnerability.Fixed in 7.59 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 7.59 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 8.4.8 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 8.5.3 - Compensating control
If you are unable to update immediately (or your Drupal distribution does not yet include this security release), you can attempt to apply the provided patch(s) for Drupal 7.x and for Drupal 8.x (8.5.x and below) until you are able to update completely; note these patches only work if your site already has the fix from SA-CORE-2018-002 applied.
Event History
Frequently Asked Questions
What is the severity of CVE-2018-7602?
CVE-2018-7602 is classified as a high severity remote code execution vulnerability affecting multiple subsystems of Drupal 7.x and 8.x.
How can I fix CVE-2018-7602?
To remediate CVE-2018-7602, upgrade your Drupal installation to at least version 7.59 for Drupal 7.x or 8.4.8 for Drupal 8.x.
Which versions of Drupal are affected by CVE-2018-7602?
CVE-2018-7602 affects Drupal versions 7.0 through 7.59 and versions 8.0 through 8.5.2.
What could an attacker do if they exploit CVE-2018-7602?
If exploited, CVE-2018-7602 could allow attackers to execute arbitrary code, potentially compromising the entire Drupal site.
Is there an easy way to check if my Drupal site is vulnerable to CVE-2018-7602?
You can verify if your site is vulnerable by checking the installed version of Drupal against the affected version ranges for CVE-2018-7602.