{"id":"CVE-2018-7602","published":"2018-07-19T17:29:00Z","modified":"2026-10-02T14:54:58Z","title":"Drupal Core Remote Code Execution Vulnerability","vendor":"Drupal","product":"Core","tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"The flaw is a remote code execution vulnerability in multiple subsystems of Drupal core, affecting the 7.x and 8.x release lines. An attacker with network access and no authentication or user interaction could exploit one of several attack vectors against a Drupal site, potentially compromising it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:53:44Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.99172,"percentile":0.99933,"date":"2026-10-28","provenance":"source"},"kev":{"dateAdded":"2022-04-13","dueDate":"2022-05-04","ransomware":true,"requiredAction":"Apply updates per vendor instructions.","notes":"https://nvd.nist.gov/vuln/detail/CVE-2018-7602","provenance":"source"},"vulncheckKev":{"dateAdded":"2018-07-19","exploitedFirstSeen":"2018-07-19","ransomware":true,"evidence":[{"url":"https://www.cve.org/CVERecord?id=CVE-2018-7602","date":"2018-07-19"},{"url":"https://www.csk.gov.in/alerts/STOP_ransomware.html","date":"2020-02-25"},{"url":"https://know.netenrich.com/blog/ragnar-locker-petya-and-ryuk-know-your-ransomware/","date":"2020-10-01"},{"url":"https://unit42.paloaltonetworks.com/network-attack-trends-winter-2020/","date":"2021-04-12"},{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2022-04-13"},{"url":"https://www.group-ib.com/blog/shadowsilk/","date":"2025-08-27"},{"url":"https://fortiguard.fortinet.com/threat-signal-report/6190","date":"2025-08-28"},{"url":"https://fortiguard.fortinet.com/outbreak-alert/shadowsilk-data-exfiltration","date":"2025-09-12"}],"evidenceTotal":8,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"},{"name":"Actively_Exploited_Kev | Oct 18, 2026","url":"https://otx.alienvault.com/pulse/6ad38c22e1848f8189d1c121","created":"2026-10-17"}],"provenance":"machine"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"http://www.securityfocus.com/bid/103985","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1040754","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/04/msg00030.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://www.debian.org/security/2018/dsa-4180","tags":["Third Party Advisory"]},{"url":"https://www.drupal.org/sa-core-2018-004","tags":["Patch","Vendor Advisory"]},{"url":"https://www.exploit-db.com/exploits/44542/","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://www.exploit-db.com/exploits/44557/","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://www.securityfocus.com/bid/103985","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1040754","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/04/msg00030.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://www.debian.org/security/2018/dsa-4180","tags":["Third Party Advisory"]},{"url":"https://www.drupal.org/sa-core-2018-004","tags":["Patch","Vendor Advisory"]},{"url":"https://www.exploit-db.com/exploits/44542/","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://www.exploit-db.com/exploits/44557/","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7602","tags":["US Government Resource"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"source","basis":"ctid-cve","bases":["ctid-cve","ai-mapping"],"basisDetail":"CTID attack_to_cve (Phase 1); claude-haiku-5-5: Remote exploitation of public-facing Drupal web app","mappingType":"uncategorized","evidence":[{"from":"description","quote":"A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x","start":0,"end":93}],"confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1059","name":"Command and Scripting Interpreter","tactics":["execution"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Code execution on web server achieved via exploit","mappingType":"primary_impact","evidence":[{"from":"description","quote":"could result in the site being compromised","start":188,"end":230}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[],"affected":[{"ecosystem":"Packagist","package":"drupal/core","vulnerableRanges":[">=7.0, <7.59",">=8.0, <8.4.8",">=8.5, <8.5.3",">=8.0.0, <8.4.8",">=8.5.0, <8.5.3"],"patched":["7.59","8.4.8","8.5.3"],"from":["GHSA-297x-j9pm-xjgg","DRUPAL-CORE-2018-004"],"provenance":"source"},{"ecosystem":"Packagist","package":"drupal/drupal","vulnerableRanges":[">=7.0, <7.59",">=8.0, <8.4.8",">=8.5, <8.5.3"],"patched":["7.59","8.4.8","8.5.3"],"from":["GHSA-297x-j9pm-xjgg"],"provenance":"source"}],"advisories":[{"id":"GHSA-297x-j9pm-xjgg","url":"https://github.com/advisories/GHSA-297x-j9pm-xjgg","severity":"CRITICAL","ecosystem":"Packagist","package":"drupal/core","vulnerableRanges":[">=7.0, <7.59"],"patched":["7.59"],"provenance":"source","from":"GHSA"},{"id":"GHSA-297x-j9pm-xjgg","url":"https://github.com/advisories/GHSA-297x-j9pm-xjgg","severity":"CRITICAL","ecosystem":"Packagist","package":"drupal/core","vulnerableRanges":[">=8.0, <8.4.8"],"patched":["8.4.8"],"provenance":"source","from":"GHSA"},{"id":"GHSA-297x-j9pm-xjgg","url":"https://github.com/advisories/GHSA-297x-j9pm-xjgg","severity":"CRITICAL","ecosystem":"Packagist","package":"drupal/core","vulnerableRanges":[">=8.5, <8.5.3"],"patched":["8.5.3"],"provenance":"source","from":"GHSA"},{"id":"GHSA-297x-j9pm-xjgg","url":"https://github.com/advisories/GHSA-297x-j9pm-xjgg","severity":"CRITICAL","ecosystem":"Packagist","package":"drupal/drupal","vulnerableRanges":[">=7.0, <7.59"],"patched":["7.59"],"provenance":"source","from":"GHSA"},{"id":"GHSA-297x-j9pm-xjgg","url":"https://github.com/advisories/GHSA-297x-j9pm-xjgg","severity":"CRITICAL","ecosystem":"Packagist","package":"drupal/drupal","vulnerableRanges":[">=8.0, <8.4.8"],"patched":["8.4.8"],"provenance":"source","from":"GHSA"},{"id":"GHSA-297x-j9pm-xjgg","url":"https://github.com/advisories/GHSA-297x-j9pm-xjgg","severity":"CRITICAL","ecosystem":"Packagist","package":"drupal/drupal","vulnerableRanges":[">=8.5, <8.5.3"],"patched":["8.5.3"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2024-1058","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-1058","exploited":true,"exploitedSince":"2022-04-13","provenance":"source"},"exploits":[{"id":44542,"url":"https://www.exploit-db.com/exploits/44542","title":"Drupal < 7.58 - 'Drupalgeddon3' (Authenticated) Remote Code Execution (PoC)","type":"webapps","platform":"php","date":"2018-04-25","verified":true,"provenance":"source"},{"id":44557,"url":"https://www.exploit-db.com/exploits/44557","title":"Drupal < 7.58 - 'Drupalgeddon3' (Authenticated) Remote Code (Metasploit)","type":"webapps","platform":"php","date":"2018-04-30","verified":true,"provenance":"source"},{"id":44557,"url":"https://www.exploit-db.com/exploits/44557","title":"Drupal < 7.58 - 'Drupalgeddon3' (Authenticated) Remote Code (Metasploit)","type":"webapps","platform":"php","date":"2018-04-30","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":3,"earliest":"2018-04-25"},"pocGithub":{"count":3,"skipped":2,"earliest":"2018-04-27","earliestUrl":"https://github.com/1337g/Drupalgedon3","repos":[{"name":"1337g/Drupalgedon3","url":"https://github.com/1337g/Drupalgedon3","stars":6,"created":"2018-04-27"},{"name":"kastellanos/CVE-2018-7602","url":"https://github.com/kastellanos/CVE-2018-7602","stars":1,"created":"2018-10-29"},{"name":"cyberharsh/DrupalCVE-2018-7602","url":"https://github.com/cyberharsh/DrupalCVE-2018-7602","stars":1,"created":"2020-06-25"}]},"nuclei":[{"id":"CVE-2018-7602","name":"Drupal - Remote Code Execution","severity":"critical","path":"http/cves/2018/CVE-2018-7602.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-7602.yaml"}],"first":{"date":"2018-04-25","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/44542"},"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/44542/","https://www.exploit-db.com/exploits/44557/","https://www.exploit-db.com/exploits/44542","https://www.exploit-db.com/exploits/44557"],"flow":[{"stage":"primary","techniques":["T1059"],"provenance":"ai"},{"stage":"related","techniques":["T1190"],"provenance":"source"}],"timeline":[{"date":"2018-04-25","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-44542); later: PoC-in-GitHub 2018-04-27","url":"https://www.exploit-db.com/exploits/44542","provenance":"source"},{"date":"2018-07-19","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-7602","provenance":"source"},{"date":"2018-07-19","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.cve.org/CVERecord?id=CVE-2018-7602","provenance":"source"},{"date":"2022-04-13","kind":"kev","label":"Added to CISA KEV (known ransomware use)","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2022-04-13","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-1058","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Exploit-DB","daysToKev":1364},"priority":{"score":79.8,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 3024 days ago"},{"name":"Known ransomware use","points":10.0,"detail":"CISA KEV and VulnCheck KEV: Known"},{"name":"EPSS percentile","points":19.99,"detail":"percentile 0.9993"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 NVD references tagged Exploit; 3 Exploit-DB entries; 2 advisory exploit references; 3 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2017-6931","published":"2018-03-01","fixed":"8.4.5","kev":false},{"cve":"CVE-2018-7600","published":"2018-03-29","fixed":"8.5.1","kev":true,"link":{"from":"CVE-2018-7600","to":"CVE-2018-7602","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:drupal/drupal","fromFixed":"7.58","toFixed":"7.59","daysApart":112},{"kind":"version-step","provenance":"source","package":"Packagist:drupal/core","fromFixed":"7.58","toFixed":"7.59","daysApart":112}]}},{"cve":"CVE-2018-9861","published":"2018-04-19","fixed":"8.5.2","kev":false,"link":{"from":"CVE-2018-9861","to":"CVE-2018-7602","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:drupal/drupal","fromFixed":"8.4.7","toFixed":"8.4.8","daysApart":91},{"kind":"version-step","provenance":"source","package":"Packagist:drupal/core","fromFixed":"8.4.7","toFixed":"8.4.8","daysApart":91}]}},{"cve":"CVE-2018-7602","published":"2018-07-19","fixed":"8.5.3","kev":true},{"cve":"CVE-2019-6338","published":"2019-01-22","fixed":"8.6.6","kev":false,"link":{"from":"CVE-2018-7602","to":"CVE-2019-6338","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:drupal/drupal","fromFixed":"7.59","toFixed":"7.62.0","daysApart":187},{"kind":"version-step","provenance":"source","package":"Packagist:drupal/drupal","fromFixed":"8.5.3","toFixed":"8.5.9","daysApart":187}]}},{"cve":"CVE-2019-6339","published":"2019-01-22","fixed":"8.6.6","kev":false,"link":{"from":"CVE-2018-7602","to":"CVE-2019-6339","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:drupal/drupal","fromFixed":"7.59","toFixed":"7.62.0","daysApart":187},{"kind":"version-step","provenance":"source","package":"Packagist:drupal/drupal","fromFixed":"8.5.3","toFixed":"8.5.9","daysApart":187}]}},{"cve":"CVE-2019-6340","published":"2019-02-21","fixed":"8.6.10","kev":true,"link":{"from":"CVE-2018-7602","to":"CVE-2019-6340","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:drupal/drupal","fromFixed":"7.59","toFixed":"7.62.0","daysApart":217},{"kind":"version-step","provenance":"source","package":"Packagist:drupal/core","fromFixed":"7.59","toFixed":"7.62.0","daysApart":217}]}}],"package":"Packagist:drupal/drupal"}}