Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-004
Summary
| CVE | CVE-2018-7602 |
|---|---|
| State | PUBLISHED |
| Assigner | drupal |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2018-07-19 17:29:00 UTC |
| Updated | 2026-08-13 05:17:18 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 9.8 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.992360000 probability, percentile 0.999330000 (date 2026-08-24)
CISA KEV: Listed on 2022-04-13; due 2022-05-04; ransomware use Known
Problem Types: NVD-CWE-noinfo | CWE-94 | Remote code Execution | CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | ADP | DECLARED | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 2.0 | [email protected] | Primary | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
CVSS v3.1 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2.0 Breakdown
AV:N/AC:L/Au:N/C:P/I:P/A:P
CISA Known Exploited Vulnerability
| Vendor | Drupal |
|---|---|
| Product | Core |
| Name | Drupal Core Remote Code Execution Vulnerability |
| Required Action | Apply updates per vendor instructions. |
| Notes | https://nvd.nist.gov/vuln/detail/CVE-2018-7602 |
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Debian -- Security Information -- DSA-4180-1 drupal7 | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | Third Party Advisory |
| Drupal Array Validation Flaw Lets Remote Users Execute Arbitrary Code on the Target System - SecurityTracker | af854a3a-2127-422b-91ae-364da2661108 | www.securitytracker.com | Broken Link, Third Party Advisory, VDB Entry |
| Malformed Request | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | Broken Link, Third Party Advisory, VDB Entry |
| [SECURITY] [DLA 1365-1] drupal7 security update | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| Drupal < 7.58 - 'Drupalgeddon3' (Authenticated) Remote Code (Metasploit) | af854a3a-2127-422b-91ae-364da2661108 | www.exploit-db.com | Exploit, Third Party Advisory, VDB Entry |
| Drupal < 7.58 - 'Drupalgeddon3' (Authenticated) Remote Code Execution (PoC) | af854a3a-2127-422b-91ae-364da2661108 | www.exploit-db.com | Exploit, Third Party Advisory, VDB Entry |
| www.cisa.gov/known-exploited-vulnerabilities-catalog | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | www.cisa.gov | US Government Resource |
| Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-004 | Drupal.org | af854a3a-2127-422b-91ae-364da2661108 | www.drupal.org | Patch, Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
| CISA Known Exploited Vulnerabilities catalog | CISA | www.cisa.gov | kev |
Vendor Comments And Credit
Discovery Credit
CNA: David Rothstein (en)
CNA: Alex Pott (en)
CNA: Heine Deelstra (en)
CNA: Jasper Mattsson (en)
CNA: David Rothstein (en)
CNA: xjm (en)
CNA: Samuel Mortenson (en)
CNA: Alex Pott (en)
CNA: Lee Rowlands (en)
CNA: Heine Deelstra (en)
CNA: Pere Orga (en)
CNA: Peter Wolanin (en)
CNA: Tim Plunkett (en)
CNA: Michael Hess (en)
CNA: Nate Lampton (en)
CNA: Jasper Mattsson (en)
CNA: Neil Drumm (en)
CNA: Cash Williams (en)
CNA: Daniel Wehner (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| ADP | 2022-04-13T00:00:00.000Z | CVE-2018-7602 added to CISA KEV |
Solutions
CNA: 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.)