CVE-2018-7602
Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-004
02 Description
Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-004
03 Exploitation and scoring
- Exploitation
- Exploited in the wild. Listed in the CISA Known Exploited Vulnerabilities catalog on 2022-04-13. Federal remediation due 2022-05-04. Known ransomware campaign use: reported by CISA.
- SSVC decision
- ExploitationactiveCISA reports credible evidence of active exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 99.17% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 99.9% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-10-02.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2018-07-19 17:00Z8 YR AGO
- Last updated
- 2026-10-01 20:28Z27 DAYS AGO
- Reserved
- 2018-03-01
- Assigning CNA
- drupal
- Record state
- PUBLISHED
- Severity
- High (CVSS 8.1)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-94Improper Control of Generation of Code ('Code Injection')Base
- Data version
- 5.2
- Document digest
- e168fea9700d146717e8d354a4a60230d4d88f0479cc00a6050a167283e0e8d2
05 Affected products
06 References
- www.exploit-db.com44557https://www.exploit-db.com/exploits/44557/
- www.securitytracker.com1040754http://www.securitytracker.com/id/1040754
- lists.debian.org[debian-lts-announce] 20180426 [SECURITY] [DLA 1365-1] drupal7 security updatehttps://lists.debian.org/debian-lts-announce/2018/04/msg00030.html
- www.exploit-db.com44542https://www.exploit-db.com/exploits/44542/
- www.debian.orgDSA-4180https://www.debian.org/security/2018/dsa-4180
- www.drupal.orghttps://www.drupal.org/sa-core-2018-004
- www.securityfocus.com103985http://www.securityfocus.com/bid/103985
- www.cisa.govhttps://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7602
07 Remediation
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.)
08 Fixed in
Arch Linux
- drupal Fixed in 8.5.3-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- drupal7 Fixed in 7.26-1ubuntu0.1+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- drupal7 Fixed in 7.44-1ubuntu1~16.04.0+esm1Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.