Auth bypass in T2bot Matrix-Media-Repo
CVE-2024-36402
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.
Vulnerability class: Broken Authentication
EPSS: 0.005 (42.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
Affected products
- T2bot Matrix-media-repo — versions < 1.3.5
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (x_refsource_MISC, Issue Tracking)
Frequently asked questions
- What is CVE-2024-36402?
- CVE-2024-36402 is a medium-severity vulnerability in T2bot Matrix-Media-Repo, classified under Improper Authentication. CVSS score: 5.3/10. Published 2025-01-16.
- How severe is CVE-2024-36402?
- Medium severity. CVSS v3 base score is 5.3 out of 10.