The RESTful Web Services exploit – unserialize()

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

Get Hands-On Web Penetration Testing with Metasploit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.