Multiple vulnerabilities in Matrix Synapse



Published: 2023-06-07 | Updated: 2023-06-08
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2023-32683
CVE-2023-32682
CWE-ID CWE-918
CWE-284
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Synapse
Server applications / Conferencing, Collaboration and VoIP solutions

Vendor Matrix.org

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Server-Side Request Forgery (SSRF)

EUVDB-ID: #VU77059

Risk: Medium

CVSSv3.1: 5.1 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-32683

CWE-ID: CWE-918 - Server-Side Request Forgery (SSRF)

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to perform SSRF attacks.

The vulnerability exists due to insufficient validation of user-supplied input within the oEmbed and image URLs. A remote attacker can send a specially crafted HTTP request and trick the application to initiate requests to arbitrary systems.

Successful exploitation of this vulnerability may allow a remote attacker gain access to sensitive data, located in the local network or send malicious requests to other servers from the vulnerable system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Synapse: 1.0.0 - 1.84.1

External links

http://github.com/matrix-org/synapse/security/advisories/GHSA-98px-6486-j7qc
http://github.com/matrix-org/synapse/pull/15601
http://github.com/matrix-org/synapse/releases/tag/v1.85.0


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.

2) Improper access control

EUVDB-ID: #VU77060

Risk: Low

CVSSv3.1: 3.8 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-32682

CWE-ID: CWE-284 - Improper Access Control

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.

The vulnerability exists due to improper checks for deactivated users during login. A remote user can login when using uncommon configurations.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Synapse: 1.0.0 - 1.84.1

External links

http://github.com/matrix-org/synapse/security/advisories/GHSA-26c5-ppr8-f33p
http://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#password_config
http://github.com/matrix-org/synapse/pull/15624
http://matrix-org.github.io/synapse/latest/admin_api/user_admin_api.html#create-or-modify-account
http://matrix-org.github.io/synapse/latest/jwt.html
http://github.com/matrix-org/synapse/pull/15634
http://github.com/matrix-org/synapse/releases/tag/v1.85.0


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###