Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-3pmj-jqqp-2mj3

Опубликовано: 04 авг. 2023
Источник: github
Github: Прошло ревью
CVSS3: 5

Описание

matrix-appservice-irc IRC command injection via admin commands containing newlines

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.

For more information

If you have any questions or comments about this advisory email us at security@matrix.org.

Пакеты

Наименование

matrix-appservice-irc

npm
Затронутые версииВерсия исправления

<= 1.0.0

1.0.1

EPSS

Процентиль: 33%
0.00133
Низкий

5 Medium

CVSS3

Дефекты

CWE-20

Связанные уязвимости

CVSS3: 5.8
nvd
больше 2 лет назад

matrix-appservice-irc is a Node.js IRC bridge for Matrix. Prior to version 1.0.1, 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. Versions 1.0.1 and above are patched. There are no robust workarounds to the bug. One may disable dynamic channels in the config to disable the most common execution method but others may exist.

EPSS

Процентиль: 33%
0.00133
Низкий

5 Medium

CVSS3

Дефекты

CWE-20