Vulnerabilities/

CVE-2019-6340

CVE

CVE-2019-6340

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.

Severity

High

Base CVSS

8.1

Fixed in

f4490205b801e91bc77d3b09dcba903e7b35a146

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

Severity scores

Source

Severity

Base score

CVSS version

Score vector

NVD

High

8.1

3.1

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

OSV

0

3.1

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Endor Labs

Required action

Apply updates per vendor instructions.

Known ransomware campaign use

Unknown

References

https://www.cisa.gov/known-exploited-vulnerabilities-catalog?fieldcve=CVE-2019-6340, http://www.securityfocus.com/bid/107106, https://www.drupal.org/sa-core-2019-003, https://www.synology.com/security/advisory/SynologySA1909, https://www.exploit-db.com/exploits/46452/, https://www.exploit-db.com/exploits/46459/, https://www.exploit-db.com/exploits/46510/

Basic information

Base CVSS

8.1

EPSS probability

0.9

EPSS percentile

0.99819

Introduced version

9b04d294324d9c76be4b596de4316cb8804e8223

Fix available

f4490205b801e91bc77d3b09dcba903e7b35a146

Endor Patches

Fix critical vulnerabilities instantly

Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.

Fix without upgrading

Get a demo of Endor Labs today.