Skip to main content
← All vulnerabilities
CVE-2024-36402GHSA-8VMR-H7H5-CQHGGO-2025-3397

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.3.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • t2bot matrix-media-repo

    fixed in 1.3.5

  • github.com/t2bot/matrix-media-repoGo

    fixed in 1.3.5

References 2

GitHub · t2bot/matrix-media-repo

GitHub · matrix-org/matrix-spec-proposals