CVE-2018-7602
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.
Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
99.172%
chance of exploitation in the next 30 days
higher than 99.9% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2022-04-13 · known ransomware use
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 1
Exploit-DB: 2
Weakness
- CWE-94: Improper Control of Generation of Code
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Drupal Core Remote Code Execution Vulnerability |
|---|---|
| Vendor / product | Drupal / Core |
| Date added | 2022-04-13 |
| Federal remediation due date | 2022-05-04 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Known |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-08-13 |
Timeline
- 2018-04-25First Exploit-DB entry (EDB-ID 44542)85 days before publication
- 2018-07-19Published by the CNA17:00 UTC
- 2022-04-13Added to the CISA KEV catalog1364 days after publication
- 2024-04-23GitHub advisory published (GHSA-297x-j9pm-xjgg)2105 days after publication
- 2026-08-13CISA SSVC decision recorded2947 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 44557 | webapps | php | 2018-04-30 | yes |
| EDB-ID 44542 | webapps | php | 2018-04-25 | yes |
Nuclei templates:
- CVE-2018-7602: Drupal - Remote Code Execution
GitHub advisory GHSA-297x-j9pm-xjgg, affected packages:
| Ecosystem | Package | Vulnerable range | Patched |
|---|---|---|---|
| Packagist | drupal/core | >= 7.0, < 7.59 | 7.59 |
| Packagist | drupal/core | >= 8.0, < 8.4.8 | 8.4.8 |
| Packagist | drupal/core | >= 8.5, < 8.5.3 | 8.5.3 |
| Packagist | drupal/drupal | >= 7.0, < 7.59 | 7.59 |
| Packagist | drupal/drupal | >= 8.0, < 8.4.8 | 8.4.8 |
Affected products
| Vendor | Product |
|---|---|
| debian | debian_linux |
| drupal | drupal |
References
- https://www.drupal.org/sa-core-2018-004
- https://www.debian.org/security/2018/dsa-4180
- https://www.exploit-db.com/exploits/44542/
- https://www.exploit-db.com/exploits/44557/
- http://www.securityfocus.com/bid/103985
- http://www.securitytracker.com/id/1040754
- https://lists.debian.org/debian-lts-announce/2018/04/msg00030.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7602
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2018-7602'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2018-7602'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2018-7602'curl 'https://api.contrastcyber.com/cve_products/CVE-2018-7602'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2018-7602'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).