{"id":"CVE-2018-7602","aliases":["DRUPAL-CORE-2018-004","EDB-44542","EDB-44557","GHSA-297x-j9pm-xjgg"],"kind":"cve","tier":"cold","status":"published","title":"Drupal core - Highly critical - Remote Code Execution - SA-CORE-2018-004","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.","ai_summary":null,"severity":"high","cvss":{"score":8.1,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CNA"},"scores":[{"score":8.1,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"adp"},{"score":9.8,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd"},{"score":8.1,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"cna"},{"score":7.5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":["CWE-94"],"remote":true,"remote_unauth":true,"epss":{"score":0.99138,"percentile":0.99933,"date":"2026-12-01"},"kev":{"listed":true,"added":"2022-04-13","due":"2022-05-04","ransomware":true},"exploit":{"public":true,"exploitdb_ids":[44542,44557]},"affected":[{"ecosystem":"Packagist","name":"drupal/core","affected":">= 8.0.0, < 8.4.8; >= 8.5.0, < 8.5.3","fixed":["8.4.8","8.5.3","7.59"],"source":"osv"},{"ecosystem":"Packagist","name":"drupal/drupal","affected":">= 7.0, < 7.59","fixed":["7.59","8.4.8","8.5.3"],"source":"osv"}],"affected_products":[{"vendor":"Drupal","product":"core","versions":">= unspecified, < 7.59; >= unspecified, < 8.5.3; >= unspecified, < 8.4.8","source":"cvelist"}],"ai_versions":null,"mitigation":"Upgrade drupal/core to one of 8.4.8, 8.5.3, 7.59 (or later in the same release line).\nUpgrade drupal/drupal to one of 7.59, 8.4.8, 8.5.3 (or later in the same release line).","technologies":[],"references":[{"url":"https://www.debian.org/security/2018/dsa-4180","kind":"vendor"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-7602","kind":"vendor"},{"url":"https://www.drupal.org/sa-core-2018-004","kind":"patch"},{"url":"https://www.exploit-db.com/exploits/44557/","kind":"exploit"},{"url":"https://www.exploit-db.com/exploits/44542/","kind":"exploit"},{"url":"https://www.exploit-db.com/exploits/44542","kind":"exploit"},{"url":"https://www.exploit-db.com/exploits/44557","kind":"exploit"},{"url":"http://www.securitytracker.com/id/1040754","kind":"other"},{"url":"https://lists.debian.org/debian-lts-announce/2018/04/msg00030.html","kind":"other"},{"url":"http://www.securityfocus.com/bid/103985","kind":"other"},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7602","kind":"other"},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2018-7602.yaml","kind":"other"},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2018-7602.yaml","kind":"other"},{"url":"https://github.com/drupal/core","kind":"other"}],"workarounds":null,"vendors":["debian","drupal"],"products":["core","debian_linux","drupal"],"cpes":["cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"published_at":"2018-04-25T00:00:00.000Z","modified_at":"2026-10-02T14:54:58.763Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-7602"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/DRUPAL-CORE-2018-004","license_url":"https://creativecommons.org/licenses/by/4.0/"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-297x-j9pm-xjgg","license_url":"https://creativecommons.org/licenses/by/4.0/"},{"source":"Exploit-DB","text":"Exploit metadata (ID and link only) from the Exploit Database","url":"https://www.exploit-db.com/exploits/44557"},{"source":"CISA KEV","text":"CISA Known Exploited Vulnerabilities Catalog","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog"}],"links":{"html":"https://flawdb.com/CVE-2018-7602","markdown":"https://flawdb.com/CVE-2018-7602.md","json":"https://flawdb.com/api/v1/entries/CVE-2018-7602"}}