In February 2019, CVE-2019-6340 was released, which disclosed a bug in the RESTful web services module of Drupal. This bug can be exploited to perform RCE. RCE is only possible if the Drupal installation has all the web services installed (HAL, Serialization, RESTful Web Services, and HTTP Basic Authentication, shown in the following screenshot):
The RESTful Web Services module communicates with Drupal using REST APIs, which can perform operations such as update, read, and write on website resources. It depends on the serialization module for the serialization of data that is sent to and from ...