{"answers":{"affected":"17 open source packages ship an affected version, including drupal/core and drupal/drupal. It affects 2 products.","exploited":"Yes. Attackers have exploited CVE-2018-7600 in the wild since at least 3 Nov 2021, including in ransomware campaigns.","fix":"Upgrade drupal/core to a fixed version for your release line: 7.58, 8.3.9, 8.4.6 or 8.5.1. US federal agencies must fix it by 3 May 2022.","what":"CVE-2018-7600 is a critical code injection vulnerability in Debian Debian Linux, published on 29 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-7600 and fix it if it is affected.\n\nWhat it is: CVE-2018-7600 is a critical code injection vulnerability in Debian Debian Linux, published on 29 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2018-7600 in the wild since at least 3 Nov 2021, including in ransomware campaigns.\n\nAffected packages and fixed versions:\n- drupal/core (Packagist): affected from 7.0; fixed in 7.58\n- drupal/core (Packagist): affected from 7.0; fixed in 7.58\n- drupal/core (Packagist): affected from 8.0; fixed in 8.3.9\n- drupal/core (Packagist): affected from 8.0; fixed in 8.3.9\n- drupal/core (Packagist): affected from 8.0.0; fixed in 8.3.9, 8.4.6, 8.5.1\n- drupal/core (Packagist): affected from 8.4.0; fixed in 8.4.6\n- drupal/core (Packagist): affected from 8.4.0; fixed in 8.4.6\n- drupal/core (Packagist): affected from 8.5.0; fixed in 8.5.1\n- drupal/core (Packagist): affected from 8.5.0; fixed in 8.5.1\n- drupal/drupal (Packagist): affected from 7.0; fixed in 7.58\n- drupal/drupal (Packagist): affected from 7.0; fixed in 7.58\n- drupal/drupal (Packagist): affected from 8.0; fixed in 8.3.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-7600/ (Markdown: https://insights.sbomify.com/CVE-2018-7600/index.md)","id":"CVE-2018-7600","markdown":"https://insights.sbomify.com/CVE-2018-7600/index.md","name":"CVE-2018-7600","record":{"aliases":["CLEANSTART-2024-RD27757","DLA-1325-1","DRUPAL-CORE-2018-002","DSA-4156-1","GHSA-7fh9-933g-885p","UBUNTU-CVE-2018-7600"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Drupal CMS","requires_auth":"none","summary":"Remote attackers can execute arbitrary code on Drupal installations due to improper input validation in multiple subsystems.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"drupal","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"drupal","vendor":"drupal"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Drupal before 7.58, 8.x before 8.3.9, 8.4.x before 8.4.6, and 8.5.x before 8.5.1 allows remote attackers to execute arbitrary code because of an issue affecting multiple subsystems with default or common module configurations.","ecosystems":["Packagist"],"exploits":{"exploitdb":4,"first_seen":"2018-03-28","github_poc":56,"max_poc_stars":600,"metasploit":1,"nuclei":1,"refs":[{"date":"2018-04-12T22:53:14Z","kind":"github_poc","ref":"https://github.com/dreadlocked/Drupalgeddon2","stars":600,"title":"Exploit for Drupal v7.x + v8.x (Drupalgeddon 2 / CVE-2018-7600 / SA-CORE-2018-002)"},{"date":"2018-03-30T14:23:18Z","kind":"github_poc","ref":"https://github.com/a2u/CVE-2018-7600","stars":353,"title":"💀Proof-of-Concept for CVE-2018-7600 Drupal SA-CORE-2018-002"},{"date":"2018-04-17T15:38:15Z","kind":"github_poc","ref":"https://github.com/pimps/CVE-2018-7600","stars":141,"title":"Exploit for Drupal 7 \u003c= 7.57 CVE-2018-7600"},{"date":"2018-03-30T08:52:54Z","kind":"github_poc","ref":"https://github.com/g0rx/CVE-2018-7600-Drupal-RCE","stars":113,"title":"CVE-2018-7600 Drupal RCE"},{"date":"2018-04-16T20:16:21Z","kind":"github_poc","ref":"https://github.com/firefart/CVE-2018-7600","stars":71,"title":"CVE-2018-7600 - Drupal 7.x RCE"},{"date":"2018-04-19T03:31:47Z","kind":"github_poc","ref":"https://github.com/lorddemon/drupalgeddon2","stars":11,"title":"Exploit for CVE-2018-7600.. called drupalgeddon2,  "},{"date":"2018-10-23T21:47:59Z","kind":"github_poc","ref":"https://github.com/r3dxpl0it/CVE-2018-7600","stars":9,"title":"CVE-2018-7600 POC (Drupal RCE)"},{"date":"2020-04-07T06:54:13Z","kind":"github_poc","ref":"https://github.com/zhzyker/CVE-2018-7600-Drupal-POC-EXP","stars":8,"title":"CVE-2018-7600 Drupal Drupalgeddon 2 远程代码执行漏洞利用脚本"}],"tier":"exploited"},"has_fix":true,"headline":"Drupal Core Remote Code Execution","id":"CVE-2018-7600","indexable":true,"kev":{"dateAdded":"2021-11-03","dueDate":"2022-05-03","knownRansomwareCampaignUse":"Known","product":"Drupal Core","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Drupal","vulnerabilityName":"Drupal Core Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":"Packagist","product":"debian:debian_linux","products":["debian:debian_linux","drupal:drupal"],"type":"code_injection","year":"2018"},"n_packages":17,"n_references":20,"next":{"headline":"Drupal Core Remote Code Execution","id":"CVE-2018-7602"},"packages":[{"ecosystem":"Packagist","fixed":["7.58"],"introduced":["7.0"],"last_affected":[],"package":"drupal/core","purl":null,"source":"GHSA-7fh9-933g-885p"},{"ecosystem":"Packagist","fixed":["7.58"],"introduced":["7.0"],"last_affected":[],"package":"drupal/core","purl":"pkg:composer/drupal/core","source":"GHSA-7fh9-933g-885p"},{"ecosystem":"Packagist","fixed":["8.3.9"],"introduced":["8.0"],"last_affected":[],"package":"drupal/core","purl":null,"source":"GHSA-7fh9-933g-885p"},{"ecosystem":"Packagist","fixed":["8.3.9"],"introduced":["8.0"],"last_affected":[],"package":"drupal/core","purl":"pkg:composer/drupal/core","source":"GHSA-7fh9-933g-885p"},{"ecosystem":"Packagist","fixed":["8.3.9","8.4.6","8.5.1"],"introduced":["8.0.0","8.4.0","8.5.0"],"last_affected":[],"package":"drupal/core","purl":"pkg:composer/drupal/core","source":"DRUPAL-CORE-2018-002"},{"ecosystem":"Packagist","fixed":["8.4.6"],"introduced":["8.4.0"],"last_affected":[],"package":"drupal/core","purl":null,"source":"GHSA-7fh9-933g-885p"},{"ecosystem":"Packagist","fixed":["8.4.6"],"introduced":["8.4.0"],"last_affected":[],"package":"drupal/core","purl":"pkg:composer/drupal/core","source":"GHSA-7fh9-933g-885p"},{"ecosystem":"Packagist","fixed":["8.5.1"],"introduced":["8.5.0"],"last_affected":[],"package":"drupal/core","purl":null,"source":"GHSA-7fh9-933g-885p"},{"ecosystem":"Packagist","fixed":["8.5.1"],"introduced":["8.5.0"],"last_affected":[],"package":"drupal/core","purl":"pkg:composer/drupal/core","source":"GHSA-7fh9-933g-885p"},{"ecosystem":"Packagist","fixed":["7.58"],"introduced":["7.0"],"last_affected":[],"package":"drupal/drupal","purl":null,"source":"GHSA-7fh9-933g-885p"},{"ecosystem":"Packagist","fixed":["7.58"],"introduced":["7.0"],"last_affected":[],"package":"drupal/drupal","purl":"pkg:composer/drupal/drupal","source":"GHSA-7fh9-933g-885p"},{"ecosystem":"Packagist","fixed":["8.3.9"],"introduced":["8.0"],"last_affected":[],"package":"drupal/drupal","purl":null,"source":"GHSA-7fh9-933g-885p"},{"ecosystem":"Packagist","fixed":["8.3.9"],"introduced":["8.0"],"last_affected":[],"package":"drupal/drupal","purl":"pkg:composer/drupal/drupal","source":"GHSA-7fh9-933g-885p"},{"ecosystem":"Packagist","fixed":["8.4.6"],"introduced":["8.4"],"last_affected":[],"package":"drupal/drupal","purl":null,"source":"GHSA-7fh9-933g-885p"},{"ecosystem":"Packagist","fixed":["8.4.6"],"introduced":["8.4"],"last_affected":[],"package":"drupal/drupal","purl":"pkg:composer/drupal/drupal","source":"GHSA-7fh9-933g-885p"},{"ecosystem":"Packagist","fixed":["8.5.1"],"introduced":["8.5"],"last_affected":[],"package":"drupal/drupal","purl":null,"source":"GHSA-7fh9-933g-885p"},{"ecosystem":"Packagist","fixed":["8.5.1"],"introduced":["8.5"],"last_affected":[],"package":"drupal/drupal","purl":"pkg:composer/drupal/drupal","source":"GHSA-7fh9-933g-885p"}],"prev":{"headline":"Cross-site request forgery in n/a","id":"CVE-2018-7590"},"products":["Drupal before 7.58, 8.x before 8.3.9, 8.4.x before 8.4.6, and 8.5.x before 8.5.1"],"published":"2018-03-29","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"MIT","name":"Drupal","prefix":"DRUPAL"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code on Drupal installations due to improper input validation in multiple subsystems.","url":"https://insights.sbomify.com/CVE-2018-7600/"}