Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-004
Published Jul 19, 2018 ·Due May 4, 2022
9.8
CRITICALCVSS 3.1
EPSS 99.20%
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.
Affected products
-
- Version unspecifiedStatusaffectedConstraints<7.59
- Version unspecifiedStatusaffectedConstraints<8.4.8
- Version unspecifiedStatusaffectedConstraints<8.5.3
- Version
Configuration 1
Configuration 2
- 7.0
- 8.0
- 9.0
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Vendor solution
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.)
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 other sources (CISA ADP, GHSA) ▾
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
Date Added
Apr 13, 2022
Patch Due
May 4, 2022
Required Action
Apply updates per vendor instructions.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
ActiveAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Aug 13, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (24 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 99.20% (0.99205) | 99.93th | v5 (v2026.06.15) |
| Jun 15, 2026 | 99.07% (0.99069) | 99.93th | v5 (v2026.06.15) |
| Mar 17, 2025 | 94.44% (0.94436) | 99.99th | v4 (v2025.03.14) |
| Dec 12, 2024 | 97.14% (0.97136) | 99.84th | v3 (v2023.03.01) |
| Jul 3, 2024 | 97.28% (0.97284) | 99.87th | v3 (v2023.03.01) |
| Jun 28, 2024 | 97.32% (0.97322) | 99.89th | v3 (v2023.03.01) |
| May 28, 2024 | 97.36% (0.97356) | 99.90th | v3 (v2023.03.01) |
| Mar 7, 2024 | 97.45% (0.97455) | 99.95th | v3 (v2023.03.01) |
| Jan 19, 2024 | 97.45% (0.97448) | 99.95th | v3 (v2023.03.01) |
| Dec 10, 2023 | 97.48% (0.97479) | 99.96th | v3 (v2023.03.01) |
| Oct 28, 2023 | 97.49% (0.97488) | 99.97th | v3 (v2023.03.01) |
| Jul 13, 2023 | 97.47% (0.97474) | 99.94th | v3 (v2023.03.01) |
| Jul 8, 2023 | 97.48% (0.97481) | 99.95th | v3 (v2023.03.01) |
| May 9, 2023 | 97.45% (0.97454) | 99.91th | v3 (v2023.03.01) |
| May 8, 2023 | 97.49% (0.97488) | 99.95th | v3 (v2023.03.01) |
| Apr 5, 2023 | 97.42% (0.97425) | 99.88th | v3 (v2023.03.01) |
| Mar 16, 2023 | 97.44% (0.97442) | 99.89th | v3 (v2023.03.01) |
| Mar 7, 2023 | 97.40% (0.97403) | 99.84th | v3 (v2023.03.01) |
| Mar 6, 2023 | 73.82% (0.73819) | 99.30th | v2 (v2022.01.01) |
| Feb 4, 2022 | 73.82% (0.73819) | 99.15th | v2 (v2022.01.01) |
| Feb 3, 2022 | 14.38% (0.14378) | 89.65th | v1 |
| Jan 6, 2022 | 14.38% (0.14378) | 89.53th | v1 |
| Sep 1, 2021 | 14.38% (0.14378) | 96.97th | v1 |
| Apr 14, 2021 | 14.38% (0.14378) | 0.00th | v1 |
References (12)
- http://www.securityfocus.com/bid/103985 vdb-entryx_refsource_BIDBroken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1040754 vdb-entryx_refsource_SECTRACKBroken LinkThird Party AdvisoryVDB Entry
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2018-7602.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2018-7602.yaml
- https://github.com/advisories/GHSA-297x-j9pm-xjgg Advisory
- https://lists.debian.org/debian-lts-announce/2018/04/msg00030.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-7602
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7602 government-resourceUS Government Resource
- https://www.debian.org/security/2018/dsa-4180 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.drupal.org/sa-core-2018-004 x_refsource_CONFIRMPatchVendor Advisory
- https://www.exploit-db.com/exploits/44542 exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/44557 exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
Change history (7)
- CISA ADP
- SSVC automatable changed from yes to
no yes → no
- CVSS severity changed from CRITICAL to
HIGH CRITICAL → HIGH
- CVSS vector changed from CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H to
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H → CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS score changed from 9.8 to
8.1 9.8 → 8.1
- SSVC automatable changed from yes to
no
- CISA ADP
- SSVC automatable changed from no to
yes no → yes
- SSVC automatable changed from no to
yes
- CISA ADP
- SSVC automatable changed from yes to
no yes → no
- SSVC automatable changed from yes to
no
- CISA ADP
- SSVC automatable changed from no to
yes no → yes
- SSVC automatable changed from no to
yes