GHSA-3PMJ-JQQP-2MJ3
matrix-appservice-irc IRC command injection via admin commands containing newlines
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-3PMJ-JQQP-2MJ3 divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
Impact
It is possible to craft a command with newlines which would not be properly parsed. This would mean you could pass a string of commands as a channel name, which would then be run by the IRC bridge bot.
Patches
Versions 1.0.1 and above are patched.
Workarounds
There are no robust workarounds to the bug. You can disable dynamic channels in the config to disable the most common execution method but others may exist. It is highly recommended to upgrade the bridge.
Credits
Discovered and reported by Val Lorentz https://valentin-lorentz.fr/.
For more information
If you have any questions or comments about this advisory email us at [security@matrix.org](mailto:security@matrix.org).
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmmatrix-appservice-irc |
Sin parche | — | — | 0.36.1 afectada |
1.0.1Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://nvd.nist.gov/vuln/detail/CVE-2023-38690https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-3pmj-jqqp-2mj3https://github.com/matrix-org/matrix-appservice-irc/commit/0afb064635d37e039067b5b3d6423448b93026d3https://github.com/matrix-org/matrix-appservice-irchttps://github.com/matrix-org/matrix-appservice-irc/releases/tag/1.0.1Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
