{"schemaVersion":3,"id":"CVE-2018-7602","aliases":["UBUNTU-CVE-2018-7602","DLA-1365-1","DSA-4180-1"],"status":"published","duplicateOf":null,"title":"Drupal Core Remote Code Execution Vulnerability","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.","dates":{"published":"2018-07-19T17:00:00.000Z","modified":"2026-10-01T20:28:55.110Z","reserved":null,"kevAdded":["2022-04-13T00:00:00.000Z"],"kevDue":["2022-05-04T00:00:00.000Z"]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.99172,"percentile":0.99935,"severity":"critical","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.06399999999999739,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.99236},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.99236,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.99236,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.99236,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.99236,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.99236,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.99236,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.99236,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.99236,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.99236,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.99205,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.99205,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.99205,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.99205,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.99205,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.99205,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.99205,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.99205,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.99205,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.99172,"percentile":0.99935}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.99236,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.99236,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.99236,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.99236,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.99205,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.99205,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.99205,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.99205,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.99205,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.99205,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.99205,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.99205,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.99205,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.99172,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.99172,"percentile":0.99935}]},"kev":{"state":"listed","entries":[{"source":"cisa","sourceLabel":"CISA","dateAdded":"2022-04-13T00:00:00.000Z","dueDate":"2022-05-04T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions.","name":"Drupal Core Remote Code Execution Vulnerability","description":"A remote code execution vulnerability exists within multiple subsystems of Drupal that can allow attackers to exploit multiple attack vectors on a Drupal site.","notes":[{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2018-7602","label":"nvd.nist.gov/vuln/detail/CVE-2018-7602"}],"vendor":"Drupal","product":"Core","ransomware":true,"ransomwareUse":"Known","exploitationType":null}],"listedCount":1,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":true,"entry":{"source":"cisa","sourceLabel":"CISA","dateAdded":"2022-04-13T00:00:00.000Z","dueDate":"2022-05-04T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions.","name":"Drupal Core Remote Code Execution Vulnerability","description":"A remote code execution vulnerability exists within multiple subsystems of Drupal that can allow attackers to exploit multiple attack vectors on a Drupal site.","notes":[{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2018-7602","label":"nvd.nist.gov/vuln/detail/CVE-2018-7602"}],"vendor":"Drupal","product":"Core","ransomware":true,"ransomwareUse":"Known","exploitationType":null}},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"known","sources":["cisa"]},"exploits":[{"id":"44557","name":"Drupal < 7.58 - 'Drupalgeddon3' (Authenticated) Remote Code (Metasploit)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/44557","maturity":"poc","reliabilityScore":0.8,"verified":true,"type":null,"platforms":["php"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"webapps","platform":"php","file":"exploits/php/webapps/44557.rb","codes":["CVE-2018-7602"]},"metasploit":null},{"id":"44542","name":"Drupal < 7.58 - 'Drupalgeddon3' (Authenticated) Remote Code Execution (PoC)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/44542","maturity":"poc","reliabilityScore":0.8,"verified":true,"type":null,"platforms":["php"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"webapps","platform":"php","file":"exploits/php/webapps/44542.txt","codes":["CVE-2018-7602","SA-CORE-2018-004"]},"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"debian","product":"drupal7","name":"drupal7","label":"drupal7","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/drupal7","purlType":"deb","versions":[{"text":"< 7.32-1+deb8u12","noFixRecorded":false,"fixedIn":null},{"text":"< 7.52-2+deb9u4","noFixRecorded":false,"fixedIn":null},{"text":"< 7.14-2+deb7u19","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.32-1+deb8u12 | < 7.52-2+deb9u4 | < 7.14-2+deb7u19","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"drupal7","name":"drupal7","label":"drupal7","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/drupal7","purlType":"deb","versions":[{"text":"< 7.26-1ubuntu0.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 7.44-1ubuntu1~16.04.0+esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.26-1ubuntu0.1+esm1 | < 7.44-1ubuntu1~16.04.0+esm1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null},{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0 | 8.0 | 9.0","eol":{"isEol":true,"eolDate":"2018-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"7","label":"7 (Wheezy)","eolFrom":"2018-05-31T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"7.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"drupal","product":"core","name":"Core","label":"core","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 7.59","noFixRecorded":false,"fixedIn":null},{"text":"≥ unspecified, < 8.5.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ unspecified, < 8.4.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 7.59 | ≥ unspecified, < 8.5.3 | ≥ unspecified, < 8.4.8","eol":null,"hubHref":"/vendor/drupal/core"},{"vendor":"drupal","product":"drupal","name":"drupal","label":"drupal","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.0, < 7.59","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.4.0, < 8.4.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.5.0, < 8.5.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.0, < 7.59 | ≥ 8.4.0, < 8.4.8 | ≥ 8.5.0, < 8.5.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"drupal","label":"Drupal","category":"server-app"}},"hubHref":"/vendor/drupal/drupal"}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://www.exploit-db.com/exploits/44557/","label":"www.exploit-db.com/exploits/44557/","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB","Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1040754","label":"www.securitytracker.com/id/1040754","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK","Broken Link","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/04/msg00030.html","label":"lists.debian.org/debian-lts-announce/2018/04/msg00030.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://www.exploit-db.com/exploits/44542/","label":"www.exploit-db.com/exploits/44542/","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB","Third Party Advisory","VDB Entry"]},{"url":"https://www.debian.org/security/2018/dsa-4180","label":"www.debian.org/security/2018/dsa-4180","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://www.drupal.org/sa-core-2018-004","label":"www.drupal.org/sa-core-2018-004","hostname":"www.drupal.org","tags":["X Refsource CONFIRM","Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/103985","label":"www.securityfocus.com/bid/103985","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Broken Link","Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7602","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7602","hostname":"www.cisa.gov","tags":["Government Resource","US Government Resource"]},{"url":"https://ubuntu.com/security/CVE-2018-7602","label":"ubuntu.com/security/CVE-2018-7602","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.drupal.org/psa-2018-003","label":"www.drupal.org/psa-2018-003","hostname":"www.drupal.org","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-7602","label":"www.cve.org/CVERecord?id=CVE-2018-7602","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog","hostname":"www.cisa.gov","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4773-1","label":"ubuntu.com/security/notices/USN-4773-1","hostname":"ubuntu.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-4773-1"],"duplicates":[],"related":["USN-4773-1"]},"timeline":[{"kind":"published","date":"2018-07-19T17:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"kev-added","date":"2022-04-13T00:00:00.000Z","label":"Added to CISA KEV","detail":"Drupal Core Remote Code Execution Vulnerability","source":"cisa"},{"kind":"kev-due","date":"2022-05-04T00:00:00.000Z","label":"CISA remediation due","detail":"Apply updates per vendor instructions.","source":"cisa"},{"kind":"modified","date":"2026-10-01T20:28:55.110Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":90,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:03:04.747Z","stale":false,"partial":false}}