Skip to content
OpenAdvisories
Critical · 9.8 Known exploited · Ransomware Scanner template Public exploit CVE-2018-7600 DRUPAL-CORE-2018-002EUVD-2022-2985GHSA-7fh9-933g-885p

Drupal Core Remote Code Execution Vulnerability

Published Mar 29, 2018 · Updated Oct 21, 2025 · Assigned by drupal

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.

Affected products

VendorProductAffectedFixed
— 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 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 Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 9 drupal7 7.52-2+deb9u3 DSA-4156-1
Debian 8 drupal7 7.32-1+deb8u11 DSA-4156-1
Debian 7 drupal7 7.14-2+deb7u18 DLA-1325-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS drupal7 7.44-1ubuntu1~16.04.0+esm1 USN-4773-1
Ubuntu Pro 14.04 LTS drupal7 7.26-1ubuntu0.1+esm1 USN-4773-1
ReleasePackageFixed inAdvisory
Alpine v3.20 drupal7 7.58-r0 —
Alpine v3.19 drupal7 7.58-r0 —
Alpine v3.18 drupal7 7.58-r0 —
Alpine v3.17 drupal7 7.58-r0 —
Alpine v3.16 drupal7 7.58-r0 —
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.15 drupal7 7.58-r0 —
Alpine v3.14 drupal7 7.58-r0 —
Alpine v3.13 drupal7 7.58-r0 —
Alpine v3.12 drupal7 7.58-r0 —
Alpine v3.11 drupal7 7.58-r0 —
Alpine v3.10 drupal7 7.58-r0 —
Alpine v3.9 drupal7 7.58-r0 —
Alpine v3.8 drupal7 7.58-r0 —
Alpine v3.7 drupal7 7.58-r0 —
Alpine v3.6 drupal7 7.58-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

GitHub 56 repositories · most starred shown

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist drupal/core >= 8.0.0, < 8.3.9 · >= 8.4.0, < 8.4.6 · >= 8.5.0, < 8.5.1 8.3.9, 8.4.6, 8.5.1 DRUPAL-CORE-2018-002
Packagist drupal/core >= 7.0, < 7.58 7.58 GHSA-7fh9-933g-885p
Packagist drupal/core >= 8.0, < 8.3.9 8.3.9 GHSA-7fh9-933g-885p
Packagist drupal/core >= 8.4.0, < 8.4.6 8.4.6 GHSA-7fh9-933g-885p
Packagist drupal/core >= 8.5.0, < 8.5.1 8.5.1 GHSA-7fh9-933g-885p
Packagist drupal/drupal >= 7.0, < 7.58 7.58 GHSA-7fh9-933g-885p
Packagist drupal/drupal >= 8.0, < 8.3.9 8.3.9 GHSA-7fh9-933g-885p
Packagist drupal/drupal >= 8.4, < 8.4.6 8.4.6 GHSA-7fh9-933g-885p
Packagist drupal/drupal >= 8.5, < 8.5.1 8.5.1 GHSA-7fh9-933g-885p

Advisories 3

References