LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2018-7602: Drupal Core Remote Code Execution Vulnerability

RBRecent Breaches Vulnerability Intelligence·Apr 13, 2022
Critical⚠ Actively exploited (CISA KEV)Ransomware-linked
Critical
Severity
Active
CISA KEV
Yes
Ransomware use
May 4, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2018-7602 to its Known Exploited Vulnerabilities catalog on Apr 13, 2022, with a federal patch deadline of May 4, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately. Ransomware crews are known to exploit this flaw.

A remote code execution vulnerability exists within multiple subsystems of Drupal that can allow attackers to exploit multiple attack vectors on a Drupal site.

CVE-2018-7602 is a remote code execution vulnerability in Drupal Core. According to CISA, it exists within multiple subsystems and can allow attackers to exploit multiple attack vectors on a Drupal site. It matters because successful exploitation can let an unauthenticated or low-privilege attacker run arbitrary code on the server, fully compromising the site and the host it runs on. Public reporting also indicates this vulnerability has been used by ransomware operators, elevating the urgency for any organization still running affected Drupal installations.

How it works

The underlying weakness is remote code execution affecting multiple subsystems inside Drupal Core. In broad terms for this class of flaw, an attacker crafts requests that reach vulnerable code paths—often involving how Drupal processes certain forms, render arrays, or other internal APIs—and causes the application to evaluate or execute attacker-controlled data as code. Because the vulnerability spans more than one subsystem, there can be several distinct attack vectors rather than a single narrow entry point. Exact request formats, required conditions, and whether authentication is needed are not detailed in the provided facts; defenders must confirm those mechanics against the vendor advisory. Once code execution is achieved, the attacker typically gains the privileges of the web-server user and can install backdoors, steal data, or deploy further payloads, including ransomware.

Am I affected? How to find it in your systems

Drupal Core is the foundation of sites built with the Drupal content-management system. It commonly runs on Linux web servers (Apache, Nginx, or similar) with PHP, often behind reverse proxies or load balancers, and may appear in development, staging, and production environments as well as in container images or platform-as-a-service offerings.

How to remediate

The primary action required by CISA is to apply updates per vendor instructions. Obtain the official Drupal Core security release that addresses CVE-2018-7602 and deploy it through your normal change process—test first in a non-production environment, then roll out to production as quickly as possible. After patching, verify the running version and consider a full file-integrity check of the Drupal root to ensure no residual web shells or unauthorized modifications remain. As general hardening for this class of vulnerability, keep Drupal core and contributed modules current, remove unused modules, enforce least-privilege file permissions, and ensure the PHP process cannot write to code directories.

If you can't patch immediately

If an immediate upgrade is impossible, reduce exposure with compensating controls while you prepare the patch:

These measures only buy time; they do not replace the vendor patch.

If your data may have been exposed

Actively exploited remote-code-execution vulnerabilities, especially those with known ransomware use, frequently lead to data theft or encryption. If you discover evidence of compromise or simply cannot rule it out, treat the incident as a potential breach: isolate affected systems, preserve logs and disk images, and follow your incident-response plan. As one quick external check, you can run a free exposure scan of your email addresses against known breach data sets to see whether credentials or personal information have already appeared in public dumps. Continue to monitor for ransomware notes, unusual encryption activity, or extortion communications while remediation and forensics proceed.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedDrupal · Core
Added to CISA KEVApr 13, 2022
Federal patch deadlineMay 4, 2022
Known ransomware useYes
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities