Security restrictions bypass in Synapse - CVE-2018-12291

 

Security restrictions bypass in Synapse - CVE-2018-12291

Published: August 6, 2018 / Updated: August 7, 2018


Vulnerability identifier: #VU14207
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-12291
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass security restrictions on the target system.

The vulnerability exists in the on_get_missing_events function in handlers/federation.py due to event visibility rules were not applied correctly. A remote unauthenticated attacker can bypass security restrictions and conduct further attacks.


Affected software

Synapse
Opensuse
Ubuntu
Fedora
matrix-synapse (Ubuntu package)
python-prometheus_client
matrix-synapse

How to mitigate CVE-2018-12291

Update to version 0.31.1.

Synapse - update to 0.31.1
matrix-synapse (Ubuntu package) - update to Ubuntu Pro
python-prometheus_client - update to 0.2.0-1.fc28
matrix-synapse - update to 0.31.2-1.fc28

External References

Related Security Bulletins