Skip to content

CVE-2019-6340

Drupal Core Remote Code Execution

8.1 HIGHActively exploited (CISA KEV)Public exploitEPSS 92.0%
  1. Published21 Feb 2019
  2. Added to CISA KEV25 Mar 2022
  3. Remediation due15 Apr 2022
8.1CVSS 3.1 scoreHIGH
Exploit probability (EPSS)92.0%
100th percentile of all scored CVEs
Actively exploited (CISA KEV)

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.

Added to KEV: 25 Mar 2022Federal remediation due: 15 Apr 2022
01

In short

CVE-2019-6340 (Drupal Core Remote Code Execution) has a CVSS 3.1 base score of 8.1, rated high. CISA added it to the Known Exploited Vulnerabilities catalog on 25 Mar 2022. Fixed in Drupal 8.5.11 or later.

02

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

03

CVSS 3.1 breakdown

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
04

Affected products

  • Drupal≥ 8.5.0 < 8.5.11 · ≥ 8.6.0 < 8.6.10
05

Remediation

Fixed in
  • Drupal≥ 8.5.11
Patch & vendor advisories

Get Patch this first every Monday

Five vulnerabilities that matter this week, ranked on real exploitation. Plain language, one email, no spam.

You can unsubscribe with one click from every issue. We handle your details as described in our privacy policy.

Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.

06:00 · IN YOUR FLEET

How Secuno handles this

Secuno matches CVE-2019-6340 against the software on every managed device each hour and ranks it by exploit status, EPSS and exposure. Because it is on the CISA KEV list, its fix goes straight to the Emergency patch lane.