CVE-2018-7602
Confirmed PUBLISHEDDrupal core - Highly critical - Remote Code Execution - SA-CORE-2018-004
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
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.
- CVE Published
- Jul 19, 2018
- Exploitation Reported
- Apr 13, 2022
- CVSS
- 9.8 Critical
- EPSS
- —
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| Drupal |
core
|
unspecified to < 7.59 |
Affected |
| Drupal |
core
|
unspecified to < 8.5.3 |
Affected |
| Drupal |
core
|
unspecified to < 8.4.8 |
Affected |
CVE References
- DSA-4180 debian.org · Vendor Advisory https://www.debian.org/security/2018/dsa-4180
- 44557 exploit-db.com · Exploit https://www.exploit-db.com/exploits/44557/
- 44542 exploit-db.com · Exploit https://www.exploit-db.com/exploits/44542/
- 1040754 securitytracker.com · VDB Entry http://www.securitytracker.com/id/1040754
- 103985 securityfocus.com · VDB Entry http://www.securityfocus.com/bid/103985
Show 2 more references
- [debian-lts-announce] 20180426 [SECURITY] [DLA 1365-1] drupal7 security update lists.debian.org · Mailing List https://lists.debian.org/debian-lts-announce/2018/04/msg00030.html
- drupal.org/sa-core-2018-004 drupal.org · CVE Record https://www.drupal.org/sa-core-2018-004
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| CISA First | 2022-04-13 00:00 UTC |
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-7602.yaml | Apr 25, 2025 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users.
CVSS Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
Exploitation Status
Exploited in the wild
Recorded 2022-04-13 00:00:00 UTC · CISA
Used in malware
Recorded 2022-04-13 00:00:00 UTC · CISA
Proof of concept available
Recorded 2018-07-12 05:08:14 UTC · GitHub
Weaknesses (CWE)
-
Improper Control of Generation of Code ('Code Injection')
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-7602.yaml | Apr 25, 2025 |
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2024-02-18 08:51:09 UTC · 0 stars
github · Created 2020-06-25 12:06:07 UTC · 1 stars
github · Created 2018-10-29 12:08:53 UTC · 1 stars
github · Created 2018-07-12 05:08:14 UTC · 0 stars
nuclei · Created Unknown
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Nuclei template available
Scanner coverage available
-
00:00 UTC over 4 years ago00:00 UTC · over 4 years ago
Added to CISA KEV
Listed in the CISA Known Exploited Vulnerabilities catalog
-
00:00 UTC over 4 years ago00:00 UTC · over 4 years ago
First public exploitation report
Exploit observed in malware
-
17:00 UTC about 8 years ago17:00 UTC · about 8 years ago
CVE published
Vulnerability disclosed publicly
-
05:08 UTC about 8 years ago05:08 UTC · about 8 years ago
Public PoC available
Public proof-of-concept code published
-
00:00 UTC over 8 years ago00:00 UTC · over 8 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2018-7602
{
"cve_id": "CVE-2018-7602",
"title": "Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-004",
"affected_vendor": "Drupal",
"affected_product": "core",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "Confirmed",
"cvss_score": 9.8,
"epss_score": null,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}