CVE-2018-7602

Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-004

  • High 8.1
  • Exploited: added to CISA KEV 13 Apr 2022
  • Used in ransomware campaigns
  • A public exploit reference is listed

Description

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.

Key facts

Published
19 Jul 2018
Last changed
1 Oct 2026
Assigned by
drupal
KEV added
13 Apr 2022
KEV fix due
4 May 2022
Used in ransomware
Yes, according to CISA
EPSS
99.172% likely to be exploited in the next 30 days, higher than 99.934% of CVEs (scores for 15 Nov 2026)
SSVC (CISA)
Exploitation: active; Automatable: no; Technical impact: total

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 8.1CVSS 3.1, Highfrom CISA (ADP container)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What to do

  • Solution: Upgrade to the most recent version of Drupal 7 or 8 core. If you are running 7.x, upgrade to Drupal 7.59. If you are running 8.5.x, upgrade to Drupal 8.5.3. If you are running 8.4.x, upgrade to Drupal 8.4.8. (Drupal 8.4.x is no longer supported and we don't normally provide security releases for unsupported minor releases. However, we are providing this 8.4.x release so that sites can update as quickly as possible. You should update to 8.4.8 immediately, then update to 8.5.3 or the latest secure release as soon as possible.) If you are unable to update immediately, or if you are running a Drupal distribution that does not yet include this security release, you can attempt to apply the patch below to fix the vulnerability until you are able to update completely: Patch for Drupal 8.x (8.5.x and below) Patch for Drupal 7.x These patches will only work if your site already has the fix from SA-CORE-2018-002 applied. (If your site does not have that fix, it may already be compromised.)CNA solution statement
  • Apply updates per vendor instructions.CISA KEV required action

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
Drupalcore
  • Default status: unaffected
  • unspecified up to but excluding 7.59 (affected)
  • unspecified up to but excluding 8.5.3 (affected)
  • unspecified up to but excluding 8.4.8 (affected)

Timeline

  1. 19 Jul 2018 Published
  2. 13 Apr 2022 Added to the CISA KEV catalogue

Weakness

References