#VU17807 Code Injection in Drupal - CVE-2019-6340
Published: February 21, 2019 / Updated: June 17, 2021
Drupal
Drupal
Description
The vulnerability allows a remote attacker to execute arbitrary PHP code on the target system.
The vulnerability exists due to improper input validation when processing field types in requests, related to API functionality. A remote attacker can send a specially crafted request and execute arbitrary PHP code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system but requires that:
- - RESTful Web Services (rest) module is enabled and accepts PATCH or POST requests
- - the site has another web services module enabled, like JSON:API in Drupal 8, or Services or RESTful Web Services in Drupal 7.
OR