CVE-2019-6340

Drupal Core: Remote Code Execution

As of , CVE-2019-6340 in Drupal Core is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.

Exploited
Yes: CISA listed it on 25 March 2022
US federal deadline
15 April 202221 days after CISA listed it. US federal civilian agencies must fix it by then.
Used in ransomware campaigns
Not known to CISA
EPSS score
0.92Higher than 99% of the CVEs EPSS scores. EPSS estimates the chance of exploitation activity in the next 30 days.
EPSS when listed
0.95 on 25 March 2022EPSS on the day CISA listed it.
Public exploit
1 Metasploit module and 3 Exploit-DB entries (1 verified)
Fix
No vendor link in CISA's entry

What CISA says to do

Apply updates per vendor instructions.

CISA's required action

What the flaw is

In Drupal Core, some field types do not properly sanitize data from non-form sources. This can lead to arbitrary PHP code execution in some cases.

CISA's description

Some field types do not properly sanitize data from non-form sources in Drupal 8.5.x before 8.5.11 and Drupal 8.6.x before 8.6.10. This can lead to arbitrary PHP code execution in some cases. A site is only affected by this if one of the following conditions is met: The site has the Drupal 8 core RESTful Web Services (rest) module enabled and allows PATCH or POST requests, or the site has another web services module enabled, like JSON:API in Drupal 8, or Services or RESTful Web Services in Drupal 7. (Note: The Drupal 7 Services module itself does not require an update at this time, but you should apply other contributed updates associated with this advisory if Services is in use.)

The CVE record's description, from drupal

CVE published
21 February 2019
Assigned by
drupal
CVSS
8.1 High (CVSS 3.1, from CISA-ADP)
CWE-502
Deserialization of Untrusted Data
CISA SSVC, exploitation
active
CISA SSVC, automatable
no
CISA SSVC, technical impact
total

Timeline

  1. The CVE record was published.
  2. Exploit-DB published an exploit (EDB-ID 46452).
  3. Exploit-DB published an exploit (EDB-ID 46459).
  4. Exploit-DB published an exploit (EDB-ID 46510).
  5. CISA added it to its list of exploited vulnerabilities.
  6. The US federal deadline to fix it.

Public exploits

Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.

Core: other exploited entries

VulnerabilityProductOur groupListedDeadlineEPSS
CVE-2026-9082SQL InjectionDrupal CorePatch this weekMetasploit module0.16
CVE-2018-7602Remote Code ExecutionDrupal CorePatch this weekRansomware use; EPSS 0.99; verified Exploit-DB entry0.99

Read further