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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:t2bot:matrix-media-repo:*:*:*:*:*:*:*:*

History

20 Aug 2025, 15:34

Type Values Removed Values Added
Summary
  • (es) Matrix Media Repo (MMR) es un repositorio multimedia para múltiples servidores domésticos altamente configurable para Matrix. La versión 1.3.5 de MMR permite, por diseño, que los participantes remotos no autenticados activen una descarga y almacenamiento en caché de contenido multimedia remoto desde un servidor doméstico remoto al repositorio multimedia local. Dicho contenido también se vuelve disponible para su descarga desde el servidor doméstico local de manera no autenticada. La implicación es que los adversarios remotos no autenticados pueden usar esta funcionalidad para introducir contenido problemático en el repositorio multimedia. MMR 1.3.5 introduce una mitigación parcial en forma de nuevos endpoints que requieren autenticación para las descargas multimedia. Los endpoints no autenticados se congelarán en una versión futura, lo que cerrará el vector de ataque. Aunque son extremadamente limitados, los operadores de servidores pueden usar límites de velocidad más estrictos basados en la dirección IP como workaround parcial.
References () https://github.com/matrix-org/matrix-spec-proposals/pull/3916 - () https://github.com/matrix-org/matrix-spec-proposals/pull/3916 - Issue Tracking
References () https://github.com/t2bot/matrix-media-repo/security/advisories/GHSA-8vmr-h7h5-cqhg - () https://github.com/t2bot/matrix-media-repo/security/advisories/GHSA-8vmr-h7h5-cqhg - Vendor Advisory
First Time T2bot
T2bot matrix-media-repo
CPE cpe:2.3:a:t2bot:matrix-media-repo:*:*:*:*:*:*:*:*

16 Jan 2025, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-01-16 20:15

Updated : 2025-08-20 15:34


NVD link : CVE-2024-36402

Mitre link : CVE-2024-36402

CVE.ORG link : CVE-2024-36402


JSON object : View

Products Affected

t2bot

  • matrix-media-repo
CWE
CWE-287

Improper Authentication