llamaCVEVulnerability Intelligence
/
Apache Kylin

CVE-2020-1956

Apache Kylin OS command injection in REST APIs

An attacker who can reach the affected REST APIs could run arbitrary operating system commands on the server.

CISA KEV · explotación activaCrítica · en CISA KEV, EPSS ≥ 10 %Parche disponible
Descargar PNG JSON
CVSS 3.1
8.8
Alta
CVSS:3.1/AV:N/AC:L/PR:L/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 versionesPrimer parche a -10 d de la divulgación
Exposición2.373 dDesde la divulgación, 22 may 2020, 8:27 a. m.
EPSS ≥ 10 %22 oct 2026Fecha en que la probabilidad de explotación superó el umbral
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
CISA KEV
Umbral EPSS
Remediación
Parche 2.6.6 +1
Plazo KEV
Monitoreo
Detectada
Verificada
12 may 20
22 may 20
25 mar 22
15 abr 22
21 oct 25
22 oct 26
13 nov 26
21 nov 26
12 may 20
29 dic 21
17 ago 23
4 abr 25
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 2.6.6 org.apache.kylin:kylin-core-common · -10 d desde divulgación
Remediación Parche 3.0.2 org.apache.kylin:kylin-core-common · -10 d desde divulgación
Divulgación Publicada CVE-2020-1956 divulgada · CVSS 8.8 (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

Apache Kylin, an open-source analytics platform for big data, is affected through some of its REST APIs that build operating system commands by directly joining user-supplied input into them. An attacker who can reach these APIs could likely run arbitrary operating system commands on the server without any validation or protection.

Affects Apache Kylin 2.3.0 through 2.6.5 and 3.0.1, where a user with MANAGEMENT or ADMIN permission on a project can inject OS commands via Cube migration. Fixed in 2.6.6 and 3.0.2.

¿Qué significa?Some Kylin REST APIs build an operating system command from user-supplied text without safely handling it. An authenticated user can inject commands during Cube migration, and these run on the Kylin web server.
¿Quién está afectado?Apache Kylin 2.3.0 through 2.6.5, and 3.0.1, are affected; the flaw was introduced in 2.3.0. It requires the Cube migration feature to be reachable and an attacker with MANAGEMENT or ADMIN permission on a project. To check, look at the installed Kylin version and whether kylin.tool.auto-migrate-cube.enabled is set to false.
¿Qué hacer?Upgrade to Apache Kylin 2.6.6 or 3.0.2, as the advisory encourages all users to do. As a workaround, set kylin.tool.auto-migrate-cube.enabled to false to disable Cube migrations.
Descripción original del registro

Apache Kylin 2.3.0, and releases up to 2.6.5 and 3.0.1 has some restful apis which will concatenate os command with the user input string, a user is likely to be able to execute any os command without any protection or validation.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Apache Kylin 2.3.0 through 2.6.5 and 3.0.1 (introduced in 2.3.0)“The vulnerability was introduced in March 2018 with Apache Kylin version 2.3.0. It affects all releases up to version 2.6.5 and 3.0.1.”
02
Cube migration feature is reachable (not disabled via kylin.tool.auto-migrate-cube.enabled=false)“Kylin administrators can set the configuration kylin.tool.auto-migrate-cube.enabled to false in order to disable Cube migrations and to prevent exploitation.”
03
Attacker needs MANAGEMENT or ADMIN permission on a project“An authenticated user with MANAGEMENT or ADMIN permissions on any project can inject arbitrary system commands during Cube migration via the Kylin web interface.”
¿Quién debe revisar?Teams running Apache Kylin 2.3.0 through 2.6.5 or 3.0.1 (or the kylin-core-common Maven library), especially where project users have MANAGEMENT or ADMIN rights.
No protegeThe initial denylist patch was error-prone; it could be bypassed (e.g. with a newline on Windows).
MitigaciónSet the configuration kylin.tool.auto-migrate-cube.enabled to false to disable Cube migrations.
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:L
BajaAlta
PrivilegiosPR:L
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 8.3 (muy fácil) · +1.7 por explotación activa.
Versiones

Rangos afectados

Afectada Corregida Última
Kylin≤ 2.6.5
Kylin≤ 3.0.1
org.apache.kylin:kylin-core-common< 2.6.6
org.apache.kylin:kylin-core-common≥ 3.0.0 < 3.0.2
2.6.5
2.6.6
3.0.0
3.0.1
3.0.2
5.0.5
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
mavenorg.apache.kylin:kylin-core-common
Corregida 2.6.6, 3.0.2 -10 d · -10 d 5.0.5 no afectada
Versiones corregidas2.6.63.0.2
Explotación

Arsenal público

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

Referencias
Fabricantehttps://lists.apache.org/thread.html/r1332ef34cf8e2c0589cf44ad269fb1fb4c06addec6297f0320f5111d%40%3Cuser.kylin.apache.org%3E
Fabricantehttps://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb%40%3Cuser.kylin.apache.org%3E
Fabricantehttps://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb%40%3Cdev.kylin.apache.org%3E
Fabricantehttps://lists.apache.org/thread.html/r61666760d8a4e8764b2d5fe158d8a48b569414480fbfadede574cdc0%40%3Ccommits.kylin.apache.org%3E
Fabricantehttps://lists.apache.org/thread.html/r250a867961cfd6e0506240a9c7eaee782d84c6ab0091c7c4bc45f3eb%40%3Cannounce.apache.org%3E
Fabricantehttps://lists.apache.org/thread.html/r021baf9d8d4ae41e8c8332c167c4fa96c91b5086563d9be55d2d7acf%40%3Ccommits.kylin.apache.org%3E
Análisishttp://www.openwall.com/lists/oss-security/2020/07/14/1
Otrahttps://community.sonarsource.com/t/apache-kylin-3-0-1-command-injection-vulnerability/25706

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