CVE-2018-7602Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-004
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.
What to do
This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2022-04-13). If you run an affected version, patch or mitigate now.
Fixed builds are available from Alpine, Packagist: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | drupal7 | Fix pending | 7.44-1ubuntu1~16.04.0+esm1 (Ubuntu Pro) | UBUNTU-CVE-2018-7602 |
| Ubuntu 14.04 | drupal7 | Fix pending | 7.26-1ubuntu0.1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2018-7602 |
| Alpine Linux 3.20 | drupal7 | Fixed | 7.59-r0 | ALPINE-CVE-2018-7602 |
| Alpine Linux 3.19 | drupal7 | Fixed | 7.59-r0 | ALPINE-CVE-2018-7602 |
| Alpine Linux 3.18 | drupal7 | Fixed | 7.59-r0 | ALPINE-CVE-2018-7602 |
| Alpine Linux 3.17 | drupal7 | Fixed | 7.59-r0 | ALPINE-CVE-2018-7602 |
| Alpine Linux 3.16 | drupal7 | Fixed | 7.59-r0 | ALPINE-CVE-2018-7602 |
| Alpine Linux 3.15 | drupal7 | Fixed | 7.59-r0 | ALPINE-CVE-2018-7602 |
| Alpine Linux 3.14 | drupal7 | Fixed | 7.59-r0 | ALPINE-CVE-2018-7602 |
| Alpine Linux 3.13 | drupal7 | Fixed | 7.59-r0 | ALPINE-CVE-2018-7602 |
| Alpine Linux 3.12 | drupal7 | Fixed | 7.59-r0 | ALPINE-CVE-2018-7602 |
| Alpine Linux 3.11 | drupal7 | Fixed | 7.59-r0 | ALPINE-CVE-2018-7602 |
| Alpine Linux 3.10 | drupal7 | Fixed | 7.59-r0 | ALPINE-CVE-2018-7602 |
| Alpine Linux 3.9 | drupal7 | Fixed | 7.59-r0 | ALPINE-CVE-2018-7602 |
| Alpine Linux 3.8 | drupal7 | Fixed | 7.59-r0 | ALPINE-CVE-2018-7602 |
| Alpine Linux 3.7 | drupal7 | Fixed | 7.59-r0 | ALPINE-CVE-2018-7602 |
| Alpine Linux 3.6 | drupal7 | Fixed | 7.59-r0 | ALPINE-CVE-2018-7602 |
| Packagist library | drupal/core | Fixed | 7.59 | GHSA-297x-j9pm-xjgg |
| Packagist library | drupal/drupal | Fixed | 7.59 | GHSA-297x-j9pm-xjgg |
What the vendor says
As published in the CVE record by drupal, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Drupal core: affected: unspecified to before 7.59, unspecified to before 8.5.3, unspecified to before 8.4.8; fixed in
7.59,8.5.3,8.4.8
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…
Vendor advisories:
- https://www.debian.org/security/2018/dsa-4180 (vendor-advisory)
References
- https://www.exploit-db.com/exploits/44557/
- http://www.securitytracker.com/id/1040754
- https://lists.debian.org/debian-lts-announce/2018/04/msg00030.html
- https://www.exploit-db.com/exploits/44542/
- https://www.debian.org/security/2018/dsa-4180
- https://www.drupal.org/sa-core-2018-004
- http://www.securityfocus.com/bid/103985
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.