drupal drupal CVE-2019-6340 is a vulnerability in Drupal
Published on February 21, 2019

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

Vendor Advisory NVD

Known Exploited Vulnerability

This Drupal Core Remote Code Execution Vulnerability is part of CISA's list of Known Exploited Vulnerabilities. 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.

The following remediation steps are recommended / required by April 15, 2022: Apply updates per vendor instructions.

Vulnerability Analysis

CVE-2019-6340 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is consided to have a high level of attack complexity. It has an exploitability score of 2.2 out of four. The potential impact of an exploit of this vulnerability is considered to be very high.

What is a Marshaling, Unmarshaling Vulnerability?

The application deserializes untrusted data without sufficiently verifying that the resulting data will be valid.

CVE-2019-6340 has been classified to as a Marshaling, Unmarshaling vulnerability or weakness.


Products Associated with CVE-2019-6340

You can be notified by stack.watch whenever vulnerabilities like CVE-2019-6340 are published in these products:

 

What versions of Drupal are vulnerable to CVE-2019-6340?