Skip to content
OpenAdvisories
Medium · 5.3 CVE-2024-36402 EUVD-2025-0094GHSA-8vmr-h7h5-cqhgGO-2025-3397

Unauthenticated writes to the media repository allow planting of problematic content in Matrix Media Repo

Published Jan 16, 2025 · Updated Feb 12, 2025 · Assigned by GitHub_M

Description

Matrix Media Repo (MMR) is a highly configurable multi-homeserver media repository for Matrix. MMR before version 1.3.5 allows, by design, unauthenticated remote participants to trigger a download and caching of remote media from a remote homeserver to the local media repository. Such content then also becomes available for download from the local homeserver in an unauthenticated way. The implication is that unauthenticated remote adversaries can use this functionality to plant problematic content into the media repository. MMR 1.3.5 introduces a partial mitigation in the form of new endpoints which require authentication for media downloads. The unauthenticated endpoints will be frozen in a future release, closing the attack vector. Though extremely limited, server operators can use more strict rate limits based on IP address as a partial workaround.

Affected products

VendorProductAffectedFixed
t2bot matrix-media-repo < 1.3.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20250128T150132-150000.1.29.1 SUSE-SU-2025:0297-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250117T214834-1.1 openSUSE-SU-2025:14704-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20250128T150132-150000.1.29.1 SUSE-SU-2025:0297-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/t2bot/matrix-media-repo < 1.3.5 1.3.5 GHSA-8vmr-h7h5-cqhg

Advisories 2

References