Skip to main content
← All vulnerabilities
CVE-2023-38690GHSA-3PMJ-JQQP-2MJ3

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • matrix-org matrix-appservice-irc

    fixed in 1.0.1

  • matrix-appservice-ircnpm

    fixed in 1.0.1

References 3

GitHub · matrix-org/matrix-appservice-irc