HTTP: Drupal Core Web Services Remote Code Execution

This signature detects attempts to exploit a known vulnerability against Drupal Core. The vulnerability is due to improper sanitization of data for certain Field Types from non-form sources prior to deserialization. A remote attacker could exploit this vulnerability by sending crafted HTTP requests to a vulnerable server. Successful exploitation of this vulnerability could result in remote PHP code execution under the security context of the user running the web server.

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

Affected Products

Drupal drupal

Short Name
HTTP:PHP:DRPL-CORE-RCE-LINK
Severity
Major
Recommended
True
Recommended Action
Drop
Category
HTTP
Keywords
CVE-2019-6340 Code Core Drupal Execution Remote Services Web bid:107106
Release Date
03/13/2019
Supported Platforms

srx-branch-12.3

srx-19.3

srx-branch-19.3

vsrx3bsd-19.2

srx-branch-19.4

vsrx-19.4

mx-12.3

mx-19.4

vmx-19.4

mx-19.3

vsrx3bsd-19.4

srx-19.4

vsrx-12.3

vmx-19.3

vsrx-19.2

srx-12.3

Sigpack Version
3693
False Positive
Unknown
Vendors

Drupal

CVSS Score

6.8

Found a potential security threat?