Patchfirst
CVE-2018-7602 KEVRansomwarePublic exploit Critical · 9.8 EPSS 99.2%

Drupal Core Remote Code Execution Vulnerability

Drupal · Core

Summary

The flaw is a remote code execution vulnerability in multiple subsystems of Drupal core, affecting the 7.x and 8.x release lines. An attacker with network access and no authentication or user interaction could exploit one of several attack vectors against a Drupal site, potentially compromising it.

Official description · NVD

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.

Breakdown
79.8 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. What they do

  2. What can follow

First seen exploited the day it was disclosed. Public exploit code (Exploit-DB) was available 3 months before disclosure.

  1. Public exploit codeExploit-DB3 mo before
  2. DisclosedFirst seen exploitedVulnCheck KEV evidenceday 0
  3. Added to CISA KEVknown ransomware use; EU database agrees+4 yrs

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

2 , grouped by in kill-chain order, 2 cited passages 11

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
MITRE CTID mapping of the CVE · uncategorised

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
AI mapping from the description · primary impact

Code execution on web server achieved via exploit

could result in the site being compromised
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 244 general rules for its techniques

Rules for this CVE

0 that reference CVE-2018-7602 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

2 packages in 1 ecosystem. Main package: drupal/core.

Upgrade to 8.9.17

Fixes this CVE and 6 other known vulnerabilities in this package (CVE-2018-7600, CVE-2019-11358, +4).

Still affected on this line by CVE-2026-9082 (fixed in 10.4.10, a newer line).

Set the version to 8.9.17 or later in your composer.json.

First fixed in 8.5.3 for CVE-2018-7602.

Affected versions, by release line

If you runUpgrade to
8.5 up to 8.5.38.9.17first fix for this CVE: 8.5.3
8.5.0 up to 8.5.3

Still affected on this line by CVE-2019-11358 (fixed in 8.5.15, a newer line); CVE-2019-6340 (fixed in 8.5.11, a newer line); CVE-2020-13671 (fixed in 8.8.11, a newer line); CVE-2020-28949 (fixed in 8.8.12, a newer line); CVE-2021-32610 (fixed in 8.9.17, a newer line).

8.5.3
8.0 up to 8.4.8

Still affected on this line by CVE-2019-11358 (fixed in 8.5.15, a newer line); CVE-2019-6340 (fixed in 8.5.11, a newer line); CVE-2020-13671 (fixed in 8.8.11, a newer line); CVE-2020-28949 (fixed in 8.8.12, a newer line); CVE-2021-32610 (fixed in 8.9.17, a newer line).

8.4.8
8.0.0 up to 8.4.8

Still affected on this line by CVE-2019-11358 (fixed in 8.5.15, a newer line); CVE-2019-6340 (fixed in 8.5.11, a newer line); CVE-2020-13671 (fixed in 8.8.11, a newer line); CVE-2020-28949 (fixed in 8.8.12, a newer line); CVE-2021-32610 (fixed in 8.9.17, a newer line).

8.4.8
7.0 up to 7.597.74first fix for this CVE: 7.59

“Up to” means the second version is the fix and is not affected.

Other packages that bundle this code (1)

Forks, repackagings and products that include the affected code. Each has its own fixed version.

  • Packagistdrupal/drupal
    Affected: 8.5 up to 8.5.3; 8.0 up to 8.4.8; 7.0 up to 7.59Upgrade to 8.8.11 or later (older lines: 8.4.8, 7.74)

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

8 links, grouped by NVD tag (7 duplicates merged)
↑ ↓ chooseEnter openEsc close