Lucene search

K
cvelistGitHub_MCVELIST:CVE-2023-38690
HistoryAug 04, 2023 - 4:31 p.m.

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

2023-08-0416:31:41
CWE-20
CWE-77
GitHub_M
www.cve.org
1
cve-2023
matrix-appservice-irc
irc command injection
admin commands
newlines
node.js
bridge
matrix
parsing
channel name
patched
dynamic channels
config
bug
execution method

CVSS3

5.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N

AI Score

9.9

Confidence

High

EPSS

0.002

Percentile

52.7%

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.

CNA Affected

[
  {
    "vendor": "matrix-org",
    "product": "matrix-appservice-irc",
    "versions": [
      {
        "version": "< 1.0.1",
        "status": "affected"
      }
    ]
  }
]

CVSS3

5.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N

AI Score

9.9

Confidence

High

EPSS

0.002

Percentile

52.7%

Related for CVELIST:CVE-2023-38690