CVE-2019-6340
Summary
| CVE | CVE-2019-6340 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2019-02-21 21:29:00 UTC |
| Updated | 2020-08-24 17:37:00 UTC |
| 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.) |
Risk And Classification
EPSS: 0.920170000 probability, percentile 0.998090000 (date 2026-07-20)
CISA KEV: Listed on 2022-03-25; due 2022-04-15; ransomware use Unknown
Problem Types: CWE-502
CISA Known Exploited Vulnerability
| Vendor | Drupal |
|---|---|
| Product | Core |
| Name | Drupal Core Remote Code Execution Vulnerability |
| Required Action | Apply updates per vendor instructions. |
| Notes | https://nvd.nist.gov/vuln/detail/CVE-2019-6340 |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Drupal < 8.6.9 - REST Module Remote Code Execution - PHP webapps Exploit | EXPLOIT-DB | www.exploit-db.com | Exploit, Third Party Advisory, VDB Entry |
| Drupal < 8.6.10 / < 8.5.11 - REST Module Remote Code Execution - PHP webapps Exploit | EXPLOIT-DB | www.exploit-db.com | Patch, Third Party Advisory, VDB Entry |
| Drupal < 8.5.11 / < 8.6.10 - RESTful Web Services unserialize() Remote Command Execution (Metasploit) - PHP remote Exploit | EXPLOIT-DB | www.exploit-db.com | Exploit, Third Party Advisory |
| Drupal core - Highly critical - Remote Code Execution - SA-CORE-2019-003 | Drupal.org | CONFIRM | www.drupal.org | Mitigation, Vendor Advisory |
| Synology Inc. | CONFIRM | www.synology.com | Third Party Advisory |
| Drupal Core CVE-2019-6340 Arbitrary PHP Code Execution Vulnerability | BID | www.securityfocus.com | Third Party Advisory, VDB Entry |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
| CISA Known Exploited Vulnerabilities catalog | CISA | www.cisa.gov | kev |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.