Skip to main content

CVE-2019-6340

Drupal — Drupal Core Remote Code Execution Vulnerability

Drupal · CWE-502 — Deserialization of untrusted data · in CISA KEV since 2022-03-25

KEV since 2022 · listed over a yearCISA KEVActively Exploited
83

EVRS 83 of 100 Urgent

Patch This Cycle

Rank 510 of 2,960 tracked

Download PDF

Why it scores 83

Evidence available: 6 of 7 signals

Listed in the CISA KEV catalog, and an EPSS probability of 0.920.

  • CISA KEVApplied
  • RansomwareDid not apply
  • Vendor exploitationDid not apply
  • EPSSApplied
  • Microsoft Exploitability IndexNot applicable
  • Pre-patch disclosureNo data
  • KEV recencyDid not apply
  • CVSSApplied

The band answers “how soon”, not “how bad”. No data for: Pre-patch disclosure. Why some signals show no data

Fix

Patch or fixed version identified

CISA required action

Fixed in

  • drupal/core8.6.107.62.08.5.11update to this version or later in your release line
  • drupal/drupal7.62.08.5.118.6.10update to this version or later in your release line

Affected versions

  • drupal/core (composer)affected >= 8.6.0, < 8.6.10, fixed in 8.6.10affected >= 7.0.0, < 7.62.0, fixed in 7.62.0affected >= 8.0.0, < 8.5.11, fixed in 8.5.11
  • drupal/drupal (composer)affected >= 7.0.0, < 7.62.0, fixed in 7.62.0affected >= 8.0.0, < 8.5.11, fixed in 8.5.11affected >= 8.6.0, < 8.6.10, fixed in 8.6.10

Remediation

Apply updates per vendor instructions.

Fixed versions from NVD and GitHub. Affected packages also in GitHub Advisory GHSA-3gx6-h57h-rm27 (CC BY 4.0).

Evidence

Each value with its source
MeasureValueSource
CVSS base scoreHow severe the flaw is in itself. It does not say how likely an attack is. 8.1 NVD
FIRST EPSSFIRST's estimate of the chance this is exploited in the next 30 days, and how that ranks against all CVEs. 0.920 (99.82nd pctl) FIRST EPSS
Actively exploitedWhether a source of record has confirmed attacks using it in the wild. Confirmed CISA KEV
Ransomware campaign useWhether CISA has seen ransomware operators use it. Unknown or none CISA KEV
CISA remediation deadlineThe date US federal agencies must have fixed or mitigated it. 2022-04-15 · KEV since 2022 · listed over a year CISA KEV
Public exploit moduleA module existing is not the same as active exploitation. Public module exists Metasploit
EUVD cross-referenceENISA's record: CVSS 8.1 (v3.1), assigned by drupal. Listed ENISA EUVD

Description

NVD

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

What CISA says to do

Public module

Metasploit lists a public normal-rank module for this CVE: Drupal RESTful Web Services unserialize() RCE (unix/webapp/drupal_restws_unserialize). A module existing is not the same as active exploitation; see metasploit.com.