CVE-2018-7602: Drupal Core Remote Code Execution Vulnerability

Published Apr 23, 2018
·
Updated

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

16 affected componentsFixes available
composer/drupal/core>=7.0, <7.59, >=8.0, <8.1.0, >=8.1.0, <8.2.0, >=8.2.0, <8.3.0, >=8.3.0, <8.4.0, >=8.4, <8.4.8, >=8.5, <8.5.3
composer/drupal/drupal>=7.0, <7.59, >=8.0, <8.1.0, >=8.1.0, <8.2.0, >=8.2.0, <8.3.0, >=8.3.0, <8.4.0, >=8.4, <8.4.8, >=8.5, <8.5.3
debian/drupal7
composer/drupal/drupal>=8.5<8.5.3
8.5.3
composer/drupal/drupal>=8.0<8.4.8
8.4.8
composer/drupal/drupal>=7.0<7.59
7.59
composer/drupal/core>=8.5<8.5.3
8.5.3
composer/drupal/core>=8.0<8.4.8
8.4.8
composer/drupal/core>=7.0<7.59
7.59
Drupal Core
Drupal Drupal>=7.0<7.59
Drupal Drupal>=8.4.0<8.4.8
Drupal Drupal>=8.5.0<8.5.3
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/drupal/drupal to a version that resolves this vulnerability.

    Fixed in 8.5.3
  2. Upgrade

    Upgrade composer/drupal/drupal to a version that resolves this vulnerability.

    Fixed in 8.4.8
  3. Upgrade

    Upgrade composer/drupal/drupal to a version that resolves this vulnerability.

    Fixed in 7.59
  4. Upgrade

    Upgrade composer/drupal/core to a version that resolves this vulnerability.

    Fixed in 8.5.3
  5. Upgrade

    Upgrade composer/drupal/core to a version that resolves this vulnerability.

    Fixed in 8.4.8
  6. Upgrade

    Upgrade composer/drupal/core to a version that resolves this vulnerability.

    Fixed in 7.59
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 7.59
  8. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.4.8
  9. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.5.3
  10. 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

Apr 23, 2018
Data Sourced
06:57 PM
SeverityAffected Software
Apr 25, 2018
Advisory Published
04:39 PM
Jul 19, 2018
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·05:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 13, 2022
Known Exploited
via CISA·12:00 AM
Known Ransomware
via CISA·12:00 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203