GHSA-746X-9W89-7XV6
Clients without an author token all share one author (token2author:null)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-746X-9W89-7XV6 divulgada · CVSS 6.5 (GitHub) | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Impact
When a pad socket.io connection sends `CLIENT_READY` with neither the author-token cookie nor a legacy `token` field, the server resolves the token to `null`. `AuthorManager.getAuthorId(null)` then looks up the database key `token2author:null`. Every such connection, from any user, gets the same author ID.
As a result:
- Unrelated users show up as one author (same name and colour), write under each other's identity, and kick each other off through the duplicate-author check.
- If a token-less client created a pad (it authored revision 0), every other token-less client counts as that pad's creator. They can delete the pad with a token-less `PAD_DELETE` and change pad-wide settings.
This can happen by accident. Clients that block cookies, cross-site embeds without third-party cookies, and clients that connect to socket.io without first loading the pad page all hit it. An attacker can also leave the token out on purpose. Since the author token moved to an HttpOnly cookie in 2.7.3, normal clients no longer send the token in `CLIENT_READY`, so the accidental case is much more common.
The import endpoint follows the same path for requests without a token cookie.
Patches
Fixed in 3.3.11. A connection with no token now gets a fresh random token for that session, and `SecurityManager.checkAccess()` does the same for HTTP callers. Nothing can reach the shared `token2author:null` key any more.
Workarounds
Put Etherpad behind authentication with a `getAuthorId` plugin that gives each user a stable author ID, or set `requireSession`.
Credit
Reported by @MaBeFHDW.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmep_etherpad-lite |
Sin parche | — | — | 1.8.14 afectada |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/ether/etherpad/security/advisories/GHSA-746x-9w89-7xv6Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
