Vulnerability · Published Jan 16, 2025 · Assigned by GitHub_M

CVE-2024-52602Server-Side Request Forgery (SSRF) on redirects and federation in Matrix Media Repo

Medium 5.0

In plain English

A medium-severity server-side request forgery in matrix-media-repo from t2bot. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.0Medium
Exploit odds (30 days)0.6%top 51.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Matrix Media Repo (MMR) is a highly configurable multi-homeserver media repository for Matrix. Matrix Media Repo (MMR) is vulnerable to server-side request forgery, serving content from a private network it can access, under certain conditions. This is fixed in MMR v1.3.8. Users are advised to upgrade. Restricting which hosts MMR is allowed to contact via (local) firewall rules or a transparent proxy and may provide a workaround for users unable to upgrade.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/t2bot/matrix-media-repo1.3.8GO-2025-3399
Gogithub.com/t2bot/matrix-media-repo1.3.8GHSA-r6jg-jfv6-2fjv

Affected products (as reported)

VendorProductVersions
t2bot matrix-media-repo < 1.3.8

Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

References