Insufficient MXC URI validation in Matrix Javascript SDK



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2024-50336
CWE-ID CWE-20
Exploitation vector Network
Public exploit N/A
Vulnerable software
Matrix Javascript SDK
Web applications / JS libraries

Vendor Matrix.org

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Input validation error

EUVDB-ID: #VU101796

Risk: Medium

CVSSv4.0: 1.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2024-50336

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to improper input validation when handling MXC URIs. A malicious room member can trigger clients based on the matrix-js-sdk to issue arbitrary authenticated GET requests to the client's homeserver.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Matrix Javascript SDK: 0.1.0 - 34.11.0

CPE2.3 External links

https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-xvg8-m4x3-w6xr
https://spec.matrix.org/v1.12/client-server-api/#security-considerations-5
https://github.com/advisories/GHSA-xvg8-m4x3-w6xr
https://github.com/matrix-org/matrix-js-sdk/releases/tag/v34.11.1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###