CVE-2018-7600: Drupal/core Remote Code Execution Vulnerability
CRITICALCVE-2018-7600 is a CRITICAL (CVSS 9.8) remote code execution vulnerability (CWE-20: Improper Input Validation) affecting Drupal/core libraries in the Packagist ecosystem. The issue involves drupal core remote code execution vulnerability. Remediation is available by upgrading affected packages to version 7.58, 8.3.9, 8.4.6, 8.5.1.
CVE-2018-7600 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H).
How to Fix CVE-2018-7600
To remediate this vulnerability, upgrade all affected Drupal/core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade drupal/core to 7.58
Upgrade drupal/core to 8.3.9
Upgrade drupal/core to 8.4.6
Upgrade drupal/core to 8.5.1
Upgrade drupal/drupal to 7.58
Upgrade drupal/drupal to 8.3.9
Upgrade drupal/drupal to 8.4.6
Upgrade drupal/drupal to 8.5.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for drupal/core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2018-7600, inspect your project dependencies for Drupal/core:
inspect dependencies for drupal/core
Analyze the terminal output to locate any version of Drupal/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.58), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Drupal/core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2018-7600 Affected Drupal/core Versions
8 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
drupal/core
|
Packagist |
≥ 7.0
< 7.58
|
7.58
|
|
drupal/core
|
Packagist |
≥ 8.0
< 8.3.9
|
8.3.9
|
|
drupal/core
|
Packagist |
≥ 8.4.0
< 8.4.6
|
8.4.6
|
|
drupal/core
|
Packagist |
≥ 8.5.0
< 8.5.1
|
8.5.1
|
|
drupal/drupal
|
Packagist |
≥ 7.0
< 7.58
|
7.58
|
|
drupal/drupal
|
Packagist |
≥ 8.0
< 8.3.9
|
8.3.9
|
|
drupal/drupal
|
Packagist |
≥ 8.4
< 8.4.6
|
8.4.6
|
|
drupal/drupal
|
Packagist |
≥ 8.5
< 8.5.1
|
8.5.1
|
References
Frequently Asked Questions
What is CVE-2018-7600?
Which Drupal/core versions are affected?
What version fixes CVE-2018-7600?
Is drupal/core affected?
Is drupal/drupal affected?
What is the CVSS score of CVE-2018-7600?
What CWE is associated with CVE-2018-7600?
How can I check Packagist dependencies for CVE-2018-7600?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7fh9-933g-885p",
"modified" : "2025-10-22T17:30:06Z",
"published" : "2022-05-14T01:29:45Z",
"aliases" : [ "CVE-2018-7600" ],
"summary" : "Drupal Core Remote Code Execution Vulnerability",
"details" : "Drupal before 7.58, 8.x before 8.3.9, 8.4.x before 8.4.6, and 8.5.x before 8.5.1 allows remote attackers to execute arbitrary code because of an issue affecting multiple subsystems with default or common module configurations.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0"
}, {
"fixed" : "7.58"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0"
}, {
"fixed" : "8.3.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.4.0"
}, {
"fixed" : "8.4.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.5.0"
}, {
"fixed" : "8.5.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/drupal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0"
}, {
"fixed" : "7.58"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/drupal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0"
}, {
"fixed" : "8.3.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/drupal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.4"
}, {
"fixed" : "8.4.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "drupal/drupal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.5"
}, {
"fixed" : "8.5.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-7600"
}, {
"type" : "WEB",
"url" : "https://www.tenable.com/blog/critical-drupal-core-vulnerability-what-you-need-to-know"
}, {
"type" : "WEB",
"url" : "https://www.synology.com/support/security/Synology_SA_18_17"
}, {
"type" : "WEB",
"url" : "https://www.exploit-db.com/exploits/44482"
}, {
"type" : "WEB",
"url" : "https://www.exploit-db.com/exploits/44449"
}, {
"type" : "WEB",
"url" : "https://www.exploit-db.com/exploits/44448"
}, {
"type" : "WEB",
"url" : "https://www.drupal.org/sa-core-2018-002"
}, {
"type" : "WEB",
"url" : "https://www.debian.org/security/2018/dsa-4156"
}, {
"type" : "WEB",
"url" : "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7600"
}, {
"type" : "WEB",
"url" : "https://twitter.com/arancaytar/status/979090719003627521"
}, {
"type" : "WEB",
"url" : "https://twitter.com/RicterZ/status/984495201354854401"
}, {
"type" : "WEB",
"url" : "https://twitter.com/RicterZ/status/979567469726613504"
}, {
"type" : "WEB",
"url" : "https://research.checkpoint.com/uncovering-drupalgeddon-2"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2018/03/msg00028.html"
}, {
"type" : "WEB",
"url" : "https://groups.drupal.org/security/faq-2018-002"
}, {
"type" : "WEB",
"url" : "https://greysec.net/showthread.php?tid=2912&pid=10561"
}, {
"type" : "WEB",
"url" : "https://github.com/g0rx/CVE-2018-7600-Drupal-RCE"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/drupal/core"
}, {
"type" : "WEB",
"url" : "https://github.com/a2u/CVE-2018-7600"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2018-7600.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2018-7600.yaml"
}, {
"type" : "WEB",
"url" : "https://blog.appsecco.com/remote-code-execution-with-drupal-core-sa-core-2018-002-95e6ecc0c714"
}, {
"type" : "WEB",
"url" : "https://badpackets.net/over-100000-drupal-websites-vulnerable-to-drupalgeddon-2-cve-2018-7600"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/103534"
}, {
"type" : "WEB",
"url" : "http://www.securitytracker.com/id/1040598"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-23T22:36:48Z",
"nvd_published_at" : "2018-03-29T07:29:00Z"
}
}