CVE-2018-7602Drupal Code Injection
Drupal Core Remote Code Execution Vulnerability
Published Jul 19, 2018 · Updated Nov 3, 2026 · Also known as ALPINE-CVE-2018-7602, CLEANSTART-2024-FK19349, DEBIAN-CVE-2018-7602, DLA-1365-1, DRUPAL-CORE-2018-004, DSA-4180-1, GHSA-297x-j9pm-xjgg, UBUNTU-CVE-2018-7602
Key Facts
Patch immediately- CVE-2018-7602 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Drupal, Debian Linux, drupal7 (alpine) and 3 more products.
- It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Jul 19, 2018 and is known to be used in ransomware campaigns. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 99% probability of exploitation in the next 30 days.
- Fixed versions are available, including core 7.59, core 8.4.8, core 8.5.3.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
99%
Higher than 99.9% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
86/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Apr 13, 2022
1364 days after publication
Federal due date
May 4, 2022
Overdue
Ransomware use
Known
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
4
Proof-of-concept links
In-the-wild evidence
11
Reports of active use
Required action (CISA): Apply updates per vendor instructions.
Advisories And Exploit References
- advisoryhttps://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2018-7602.yaml
- advisoryhttps://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2018-7602.yaml
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2018-7602
- advisoryhttps://security.alpinelinux.org/vuln/CVE-2018-7602
- advisoryhttps://ubuntu.com/security/CVE-2018-7602
- advisoryVulnCheck exploitation report
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CISA KEV | Apr 13, 2022 | May 4, 2022 | Known |
| Industry KEV feed | Jul 19, 2018 | May 4, 2022 | Known |
| CIRCL KEV | Apr 13, 2022 | May 4, 2022 | Known |
| ENISA EUVD | Apr 13, 2022 | n/a | Not reported |
Required action: Apply updates per vendor instructions.
Affected Products
30 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| DrupalDrupal | See advisory | 7.59 |
| Debian LinuxDebian | 7.0, 8.0, 9.0 | n/a |
| drupal7alpine | See advisory | 7.59-r0 |
| drupal/corecomposer | >= 8.5 | 8.5.3 |
| drupal/drupalcomposer | >= 8.5 | 8.5.3 |
Patched Releases
core
7.59, 8.4.8, 8.5.3
Drupal
8.5.3-1, 7.59, 8.4.8, 8.5.3
drupal/core
7.59, 8.4.8, 8.5.3
drupal/drupal
7.59, 8.4.8, 8.5.3
drupal7
7.14-2+deb7u19, 7.26-1ubuntu0.1+esm1, 7.32-1+deb8u12, 7.44-1ubuntu1~16.04.0+esm1, 7.52-2+deb9u4, 7.59-r0
Timeline
Publicly disclosed
Jul 19, 2018
Added to Industry KEV feed
Jul 19, 2018
Added to CISA KEV
Apr 13, 2022
Added to CIRCL KEV
Apr 13, 2022
Added to ENISA EUVD
Apr 13, 2022
Last updated
Nov 3, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code
References
- advisorygithub.com · CVE-2018-7602
- advisorygithub.com · CVE-2018-7602
- advisorynvd.nist.gov · CVE-2018-7602
- advisorysecurity.alpinelinux.org · CVE-2018-7602
- advisoryubuntu.com · CVE-2018-7602
FAQ
Common Questions.
A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x.
Affected: Drupal; Debian Linux versions 7.0, 8.0, 9.0; drupal7 (alpine), among others. The full list is in the CVE brief.
It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Jul 19, 2018 and is known to be used in ransomware campaigns.
Yes. It was added on Apr 13, 2022 with a federal remediation due date of May 4, 2022.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including core 7.59, core 8.4.8, core 8.5.3.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2018-7602 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo