#VU101796 Input validation error in Matrix Javascript SDK - CVE-2024-50336


Vulnerability identifier: #VU101796

Vulnerability 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

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Matrix Javascript SDK
Web applications / JS libraries

Vendor: Matrix.org

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


External links
http://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-xvg8-m4x3-w6xr
http://spec.matrix.org/v1.12/client-server-api/#security-considerations-5
http://github.com/advisories/GHSA-xvg8-m4x3-w6xr
http://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.


Latest bulletins with this vulnerability