CVE-2019-6340Drupal core - Highly critical - Remote Code Execution
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.)
What to do
This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2022-03-25). If you run an affected version, patch or mitigate now.
Fixed builds are available from Packagist: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | drupal7 | Not affected vulnerable_code_not_present | ||
| Packagist library | drupal/core | Fixed | 8.5.11 | GHSA-3gx6-h57h-rm27 |
| Packagist library | drupal/drupal | Fixed | 8.6.10 | GHSA-3gx6-h57h-rm27 |
What the vendor says
As published in the CVE record by drupal, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Drupal Core: affected: 8.5 to before 8.5.11, 8.6 to before 8.6.10; fixed in
8.5.11,8.6.10
References
- https://www.synology.com/security/advisory/Synology_SA_19_09
- https://www.exploit-db.com/exploits/46452/
- https://www.drupal.org/sa-core-2019-003
- https://www.exploit-db.com/exploits/46510/
- http://www.securityfocus.com/bid/107106
- https://www.exploit-db.com/exploits/46459/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.