CVE-2018-7602
CRITICAL 9.8CVSS 3.1known exploitedransomwareDrupal Core Remote Code Execution Vulnerability
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.
- Published
- 19 Jul 2018
- Last modified
- 2 Oct 2026
- Assigned by
- mlhess@drupal.org
- NVD status
- Analyzed
- Weakness
- CWE-94
- Also known as
- DRUPAL-CORE-2018-004GHSA-297x-j9pm-xjgg
- Sources
- NVDJSONCISA KEVJSONOSV DRUPAL-CORE-2018-004JSONOSV GHSA-297x-j9pm-xjggJSON
In CISA's Known Exploited Vulnerabilities catalog since 13 Apr 2022; US federal agencies must fix it by 4 May 2022.
Apply updates per vendor instructions.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 7.0, < 7.59 | 7.59 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 8.4.0, < 8.4.8 | 8.4.8 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 8.5.0, < 8.5.3 | 8.5.3 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| OSV | Packagist | drupal/core | >= 8.0.0, < 8.4.8; >= 8.5.0, < 8.5.3 | 8.4.8, 8.5.3 |
| OSV | Packagist | drupal/core | >= 7.0, < 7.59 | 7.59 |
| OSV | Packagist | drupal/core | >= 8.0, < 8.4.8 | 8.4.8 |
| OSV | Packagist | drupal/core | >= 8.5, < 8.5.3 | 8.5.3 |
| OSV | Packagist | drupal/drupal | >= 7.0, < 7.59 | 7.59 |
| OSV | Packagist | drupal/drupal | >= 8.0, < 8.4.8 | 8.4.8 |
| OSV | Packagist | drupal/drupal | >= 8.5, < 8.5.3 | 8.5.3 |
References
- http://www.securityfocus.com/bid/103985 · Broken Link, Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1040754 · Broken Link, Third Party Advisory, VDB Entry
- https://lists.debian.org/debian-lts-announce/2018/04/msg00030.html · Mailing List, Third Party Advisory, WEB
- https://www.debian.org/security/2018/dsa-4180 · Third Party Advisory, WEB
- https://www.drupal.org/sa-core-2018-004 · Patch, Vendor Advisory, WEB
- https://www.exploit-db.com/exploits/44542/ · Exploit, Third Party Advisory, VDB Entry, WEB
- https://www.exploit-db.com/exploits/44557/ · Exploit, Third Party Advisory, VDB Entry, WEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7602 · US Government Resource, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-7602 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2018-7602.yaml · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2018-7602.yaml · WEB
- https://github.com/drupal/core · PACKAGE
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 19 Jul 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Apr 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Apr 2024)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 13 Apr 2022)
- 13 Apr 2022 00:00 UTC · Listed as known exploited