Skip to content
Server Security Center
KEVcritical9.8 Used in ransomware campaigns

CVE-2018-7600: Drupal Core Remote Code Execution

Drupal Core · listed in the CISA catalog of actively exploited vulnerabilities since 2021-11-03.

CVSS v3.1 (CVE record)
9.8
critical
EPSS (exploit probability, 30 days)
>99.9%
among the highest 0.1% of all CVEs
Added to CISA KEV
2021-11-03
US federal due date 2022-05-03
Ubuntu priority
high

CVE-2018-7600 explained

CVE-2018-7600 is a remote code execution flaw in Drupal Core affecting 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. It stems from an issue across multiple subsystems in default or common module configurations. It is listed in the CISA Known Exploited Vulnerabilities catalog with known ransomware use.

Impact

A remote, unauthenticated attacker can execute arbitrary code on a vulnerable Drupal site over the network. No user interaction is needed and attack complexity is low. Successful exploitation can fully compromise the confidentiality, integrity and availability of the site and its data. Default or common module configurations are affected, so most unpatched sites should be treated as exposed. The flaw is known to be exploited, including in ransomware campaigns.

Who is affected

The drupal7 source package is affected on Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. Both releases are end of life. Fixed packages are available only through Ubuntu Pro (ESM): 7.26-1ubuntu0.1+esm1 for Ubuntu 14.04 LTS and 7.44-1ubuntu1~16.04.0+esm1 for Ubuntu 16.04 LTS. No other releases are listed in the facts.

Written with AI from the data on this page and checked against it automatically.

Official 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.

CISA required action: Apply updates per vendor instructions.

CISA notes

Upstream versions (CVE record)

From the CVE record published by the vendor or CVE numbering authority.

  • 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
    Affected
    • 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
    Fixed in
    not stated

    Version statement as published by the CNA (free text).

Ubuntu and Debian releases

A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.

What to do

  1. Identify all hosts running the drupal7 package or other Drupal Core installations.
  2. On Ubuntu 14.04 LTS or 16.04 LTS, enable Ubuntu Pro (ESM) and install the fixed drupal7 package.
  3. Restart the web server and PHP services so the updated code is loaded.
  4. Check exposed sites for signs of compromise, since this flaw is actively exploited.
  5. Plan an upgrade from these end-of-life Ubuntu releases to a supported release.

Written with AI from the data on this page and checked against it automatically.

Check and fix on a server

Run on each Ubuntu or Debian server. Replace drupal7 with the source package from the table above.

1. Show installed packages built from the source package, with their versions

dpkg-query -W -f='${binary:Package} ${Version} ${source:Package}\n' | awk '$3=="drupal7"'

2. Compare each installed version with the fixed version for your release from the table

I=INSTALLED_VERSION; F=FIXED_VERSION   # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac

3. Install the fix

sudo apt update && sudo apt install --only-upgrade $(dpkg-query -W -f='${binary:Package} ${source:Package}\n' | awk '$2=="drupal7"{print $1}')

Services keep running the old code until they are restarted – restart the affected service or check with needrestart.

Rows marked “fix via Ubuntu Pro”: these fixes are only installable with an Ubuntu Pro subscription (ESM). Attach the machine first (sudo pro attach, then sudo pro enable esm-infra esm-apps), then run the commands above.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
Yes – attackers can automate it at scale
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-20 Improper Input Validation

Questions about CVE-2018-7600

Is this vulnerability exploited in practice?
Yes. CISA added CVE-2018-7600 to its Known Exploited Vulnerabilities catalog on 2021-11-03 and lists known ransomware use. The required action is to apply updates per vendor instructions.
Do I need Ubuntu Pro to get the fix?
Yes, on Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. Both are end of life, and the fixed drupal7 packages are published only through Ubuntu Pro (ESM).
Does an attacker need an account on the site?
No. The flaw can be exploited remotely over the network without privileges or user interaction.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.