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

Summary

CVECVE-2018-7602
StatePUBLISHED
Assignerdrupal
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-07-19 17:29:00 UTC
Updated2026-08-13 05:17:18 UTC
DescriptionA 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')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
3.1ADPDECLARED9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary9.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2.0[email protected]Primary7.5AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:N/C:P/I:P/A:P

CISA Known Exploited Vulnerability

VendorDrupal
ProductCore
NameDrupal Core Remote Code Execution Vulnerability
Required ActionApply updates per vendor instructions.
Noteshttps://nvd.nist.gov/vuln/detail/CVE-2018-7602

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Drupal Drupal All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Drupal Core affected unspecified 7.59 custom Not specified
CNA Drupal Core affected unspecified 8.5.3 custom Not specified
CNA Drupal Core affected unspecified 8.4.8 custom Not specified

References

ReferenceSourceLinkTags
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

SourceTimeEvent
ADP2022-04-13T00:00:00.000ZCVE-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.)

Legacy QID Mappings

  • 500871 Alpine Linux Security Update for drupal7
  • 504695 Alpine Linux Security Update for drupal7

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report