RCE in Matrix Irc Bridge
CVE-2023-38690
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.009, 59.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Matrix Irc Bridge
- Matrix-Org Matrix-Appservice-Irc — versions < 1.0.1
Weakness classification (CWE)
References
- https://github.com/matrix-org/matrix-appservice-irc/security/advisories/GHSA-3pmj-jqqp-2mj3 (Third Party Advisory)
- https://github.com/matrix-org/matrix-appservice-irc/commit/0afb064635d37e039067b5b3d6423448b93026d3 (Patch)
- https://github.com/matrix-org/matrix-appservice-irc/releases/tag/1.0.1 (Release Notes)