module
Drupal RESTWS Module Remote PHP Code Execution
Disclosed | Created |
---|---|
2016-07-13 | 2018-05-30 |
Disclosed
2016-07-13
Created
2018-05-30
Description
This module exploits a Remote PHP Code Execution vulnerability in the
Drupal RESTWS Module. Unauthenticated users can execute arbitrary code
under the context of the web server user.
RESTWS alters the default page callbacks for entities to provide
additional functionality. A vulnerability in this approach allows
an unauthenticated attacker to send specially crafted requests resulting
in arbitrary PHP execution. RESTWS 2.x prior to 2.6 and 1.x prior to 1.7
are affected by this issue.
This module was tested against RESTWS 2.5 with Drupal 7.5 installed on
Ubuntu Server.
Drupal RESTWS Module. Unauthenticated users can execute arbitrary code
under the context of the web server user.
RESTWS alters the default page callbacks for entities to provide
additional functionality. A vulnerability in this approach allows
an unauthenticated attacker to send specially crafted requests resulting
in arbitrary PHP execution. RESTWS 2.x prior to 2.6 and 1.x prior to 1.7
are affected by this issue.
This module was tested against RESTWS 2.5 with Drupal 7.5 installed on
Ubuntu Server.
Authors
Devin Zuczek
Mehmet Ince mehmet@mehmetince.net
Mehmet Ince mehmet@mehmetince.net
Platform
PHP
Architectures
php
References
Module Options
To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:

NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.