llamaCVEVulnerability Intelligence
/
Drupal core

CVE-2019-6340

Drupal core remote code execution in RESTful web services

An attacker can run arbitrary PHP code on the server, potentially gaining full control of the affected website.

Texto original en inglés · Ver en español

CISA KEV · explotación activaCrítica · en CISA KEV, EPSS ≥ 10 %Parche disponible
Descargar PNG JSON
CVSS 3.1
8.1
Alta
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Fuente: NVD
ExplotaciónActivaEn CISA KEV desde 25 mar 2022
Exploits públicos0Explotada, pero sin código público enlazado
Parche2 versiones8.5.11 · 8.6.10
Exposición2.829 dDesde la divulgación, 21 feb 2019, 4:00 p. m.
EPSS ≥ 10 %22 oct 2026Fecha en que la probabilidad de explotación superó el umbral
Decisión estimadaAtender
Priorizar en el próximo ciclo de cambios
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 3.1 y la evidencia de explotación (sin evaluación oficial): explotación activa (CISA KEV), no automatizable e impacto técnico total. Plazo KEV: 15 abr 2022.
No digo que entres en pánico… pero tampoco que duermas.Revisa si está expuesta a internet. Yo espero aquí.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
CISA KEV
Umbral EPSS
Remediación
Plazo KEV
Monitoreo
Detectada
Verificada
21 feb 19
25 mar 22
15 abr 22
21 oct 25
22 oct 26
13 nov 26
21 nov 26
21 feb 19
29 ene 21
6 ene 23
14 dic 24
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2019-6340 divulgada · CVSS 8.1 (NVD)
Explotación CISA KEV Agregada al catálogo de vulnerabilidades explotadas
Remediación Plazo KEV Fecha límite de remediación para agencias federales (EE. UU.)
Divulgación Modificada Última actualización del registro
Explotación Umbral EPSS La probabilidad de explotación supera el 10 %
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 11 nov 2026

Drupal core is affected by a flaw where some field types do not properly sanitize data from non-form sources, letting an attacker run arbitrary PHP code on the server, remotely and without logging in. It needs a non-default setup, such as a web services module like RESTful Web Services or JSON:API being enabled, and it is being exploited in attacks.

Affects Drupal 8 core before 8.5.11 and 8.6.0 before 8.6.10 with RESTful Web Services or another web services module enabled; Drupal 7 with such modules is also listed. Fixed in 8.5.11 and 8.6.10.

¿Qué significa?Some field types do not properly sanitize data coming from non-form sources, such as web services requests. In some cases this can lead to arbitrary PHP code execution on the server.
¿Quién está afectado?Drupal 8 core from 8.0.0 before 8.5.11, and 8.6.0 before 8.6.10, is covered. The advisory ties the issue to sites with the RESTful Web Services (rest) module enabled and allowing GET, PATCH or POST requests, or with another web services module such as JSON:API in Drupal 8, or Services or RESTful Web Services in Drupal 7. Any enabled REST resource endpoint counts, even if it only accepts GET requests. To check, look at the installed Drupal core version and which web services modules are enabled on the site.
¿Qué hacer?On Drupal 8.6.x, upgrade to 8.6.10; on 8.5.x or earlier, upgrade to 8.5.11. As a workaround, disable all web services modules, or configure the web server to block GET/PUT/PATCH/POST requests to web services resources. Resources may be reachable on multiple paths.
Descripción original del registro

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.)

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Drupal 8 core versions from 8.0.0 before 8.5.11, or 8.6.0 before 8.6.10“>= 8.0.0 <8.5.11 || >=8.6.0 <8.6.10”
02
Drupal 8 core RESTful Web Services (rest) module enabled and allowing GET, PATCH or POST requests“The site has the Drupal 8 core RESTful Web Services (rest) module enabled and allows GET , PATCH or POST requests”
03
Or another web services module enabled, such as JSON:API in Drupal 8, or Services or RESTful Web Services in Drupal 7“the site has another web services module enabled, like JSON:API in Drupal 8, or Services or RESTful Web Services in Drupal 7.”
04
Any enabled REST resource endpoint is vulnerable, even if it only accepts GET requests (Views REST exports excluded)“any enabled REST resource end-point, even if it only accepts GET requests , is also vulnerable.”
¿Quién debe revisar?Teams running Drupal 8 before 8.5.11 or 8.6.10 with the core REST module or another web services module (e.g. JSON:API) enabled; Drupal 7 sites using Services need contrib updates.
No protegeDisabling only PATCH/POST is not enough; any enabled REST resource, even GET-only, is vulnerable.
MitigaciónDisable all web services modules, or configure the web server(s) to not allow GET/PUT/PATCH/POST requests to web services resources. Resources may be reachable on multiple paths.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · NVD
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 7.1 (fácil) · +2.9 por explotación activa.
Versiones

Rangos afectados

Afectada Corregida
drupal/core · drupal/drupal≥ 7.0.0 < 7.62.0
drupal/core · drupal/drupal≥ 8.0.0 < 8.5.11
Drupal Core≥ 8.5 < 8.5.11
Drupal Core≥ 8.6 < 8.6.10
drupal/core · drupal/drupal≥ 8.6.0 < 8.6.10
7.0.0
7.62.0
8.0.0
8.5
8.5.11
8.6
8.6.0
8.6.10
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Drupal Core
Corregida 8.5.11, 8.6.10 — —
Versiones corregidas8.5.118.6.10
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://www.drupal.org/sa-core-2019-003
Exploithttps://www.exploit-db.com/exploits/46452/
Exploithttps://www.exploit-db.com/exploits/46510/
Exploithttps://www.exploit-db.com/exploits/46459/
Otrahttps://www.synology.com/security/advisory/Synology_SA_19_09
Otrahttp://www.securityfocus.com/bid/107106

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.