CVE-2019-6340
High 8.1KEV · exploitedPublic exploit ×4Fix availableDrupal core - Highly critical - Remote Code Execution
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Among the highest-scored CVEs. A prediction, not evidence.
CISA remediation deadline
Passed 1681 days ago for U.S. federal agencies
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.)
Weakness: CWE-502
Patching and mitigation
- Patch status
- Fix available (source: CVE record (drupal))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Drupal | Core | Not documented | Not documented | CISA KEV |
| Drupal | Drupal Core | from 8.5 before 8.5.11 | 8.5.11 | CVE Program |
| Drupal | Drupal Core | from 8.6 before 8.6.10 | 8.6.10 | CVE Program |
Timeline
Disclosure
CVE record published by drupal
Source: CVE Program (opens in a new tab)
25 Mar 2022KEV
Added to the CISA Known Exploited Vulnerabilities catalog
Source: CISA KEV (opens in a new tab)
25 Mar 2022Exploitation
Exploitation confirmed by CISA KEV
Source: CISA KEV (opens in a new tab)
Patch
Fix documented by CVE record (drupal)
Vendor guidance and references
- 107106 (opens in a new tab)vdb-entry, x_refsource_bid, x_transferred
- https://nvd.nist.gov/vuln/detail/CVE-2019-6340 (opens in a new tab)government
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-6340 (opens in a new tab)government-resource
- https://www.drupal.org/sa-core-2019-003 (opens in a new tab)x_refsource_confirm, x_transferred
- https://www.synology.com/security/advisory/Synology_SA_19_09 (opens in a new tab)x_refsource_confirm, x_transferred
Public exploit code
Exploit or proof-of-concept code is publicly available on Exploit-DB. Shown as a prioritization and defensive-testing signal — treat exploit code as hostile and run it only against systems you are authorized to test.
- Exploit-DB 46452 (verified) (opens in a new tab)4 entries on Exploit-DB