llamaCVEVulnerability Intelligence
/
etherpad-lite

CVE-2021-43802

Admin privilege escalation and arbitrary code execution via malicious *.etherpad imports

Specific setups onlySin parche publicado
Descargar PNG JSON
CVSS 3.1
9.9
Crítica
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Fuente: CNA
8.8NVD · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición1.806 dDesde la divulgación, 9 dic 2021, 5:35 p. m.
Detección1.789 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Monitoreo
Detectada
Fuente: OSV +1
9 dic 21
4 ago 24
3 nov 26
18 nov 26
20 nov 26
9 dic 21
6 mar 23
31 may 24
25 ago 25
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2021-43802 divulgada · CVSS 9.9 (CNA)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

Etherpad is a real-time collaborative editor. In versions prior to 1.8.16, an attacker can craft an `*.etherpad` file that, when imported, might allow the attacker to gain admin privileges for the Etherpad instance. This, in turn, can be used to install a malicious Etherpad plugin that can execute arbitrary code (including system commands). To gain privileges, the attacker must be able to trigger deletion of `express-session` state or wait for old `express-session` state to be cleaned up. Core Etherpad does not delete any `express-session` state, so the only known attacks require either a plugin that can delete session state or a custom cleanup process (such as a cron job that deletes old `sessionstorage:*` records). The problem has been fixed in version 1.8.16. If users cannot upgrade to 1.8.16 or install patches manually, several workarounds are available. Users may configure their reverse proxies to reject requests to `/p/*/import`, which will block all imports, not just `*.etherpad` imports; limit all users to read-only access; and/or prevent the reuse of `express_sid` cookie values that refer to deleted express-session state. More detailed information and general mitigation strategies may be found in the GitHub Security Advisory.

Affects Etherpad (etherpad-lite) versions before 1.8.16, where a malicious .etherpad import can lead to admin access. Fixed in 1.8.16.

¿Qué significa?A malicious .etherpad import can give an attacker admin privileges on the Etherpad instance. The attacker can then install a malicious Etherpad plugin that runs arbitrary code on the server, including system commands, and in the browsers of connected users.
¿Qué hacer?Upgrade Etherpad to version 1.8.16 or later, which is the listed fixed version.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Etherpad versions prior to 1.8.16 are affected.“Affected versions < 1.8.16”
02
Exploitation requires deletion of express-session state, or waiting for old express-session state to be cleaned up, which core Etherpad does not do; known attacks need a plugin that deletes session state or a custom cleanup process.“the attacker must be able to trigger deletion of express-session state or wait for old express-session state to be cleaned up”
¿Quién debe revisar?Teams running Etherpad (etherpad-lite / ep_etherpad-lite) before 1.8.16, especially those with plugins that delete express-session state or custom session cleanup jobs.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
etherpad-lite · ep_etherpad-lite< 1.8.16
1.8.14
1.8.16
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmep_etherpad-lite
Sin parche — — 1.8.14 afectada
Versiones corregidas1.8.16
Explotación

Arsenal público

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

Referencias
Fabricantehttps://github.com/ether/etherpad-lite/security/advisories/GHSA-w3g3-qf3g-2mqc
Otrahttps://github.com/ether/etherpad-lite/issues/5010
Otrahttps://github.com/ether/etherpad-lite/compare/b7065eb9a0ec7c3c265f8cfeb2534efe6f036456...77bcb507b30e762e9375b0511b3763e0162aae53
Otrahttps://github.com/ether/etherpad-lite/releases/tag/1.8.16

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