{"id":"CVE-2024-52602","published":"2025-01-16T19:14:46Z","modified":"2025-02-12T20:31:21Z","title":"Server-Side Request Forgery (SSRF) on redirects and federation in Matrix Media Repo","vendor":"t2bot","product":"matrix-media-repo","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00622,"percentile":0.4413,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/t2bot/matrix-media-repo/security/advisories/GHSA-r6jg-jfv6-2fjv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/t2bot/matrix-media-repo/releases/tag/v1.3.8","tags":["x_refsource_MISC"]},{"url":"https://learn.snyk.io/lesson/ssrf-server-side-request-forgery","tags":["x_refsource_MISC"]},{"url":"https://owasp.org/www-community/attacks/Server_Side_Request_Forgery","tags":["x_refsource_MISC"]},{"url":"https://www.agwa.name/blog/post/preventing_server_side_request_forgery_in_golang","tags":["x_refsource_MISC"]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":8.83},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"t2bot","affectedVersions":[{"vendor":"t2bot","product":"matrix-media-repo","versions":["< 1.3.8"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-16T19:56:56.495913Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/t2bot/matrix-media-repo","vulnerableRanges":["<1.3.8"],"patched":["1.3.8"],"from":["GHSA-r6jg-jfv6-2fjv","GO-2025-3399"],"provenance":"source"}],"summary":{"text":"Matrix Media Repo (matrix-media-repo) from t2bot contains a server-side request forgery flaw in its handling of redirects and federation requests, which causes the media repository to fetch content from private network hosts it can reach. An attacker with low-privileged network access to the service can use it to make requests to internal resources, with the attack requiring only an authenticated account and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:57Z"},"euvd":{"id":"EUVD-2025-0103","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-36402","published":"2025-01-16","fixed":"1.3.5","kev":false,"link":{"from":"CVE-2024-36402","to":"CVE-2024-52602","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/t2bot/matrix-media-repo","fromFixed":"1.3.5","toFixed":"1.3.8","daysApart":0}]}},{"cve":"CVE-2024-36403","published":"2025-01-16","fixed":"1.3.5","kev":false},{"cve":"CVE-2024-52602","published":"2025-01-16","fixed":"1.3.8","kev":false},{"cve":"CVE-2024-52791","published":"2025-01-16","fixed":"1.3.8","kev":false},{"cve":"CVE-2024-56515","published":"2025-01-16","fixed":"1.3.8","kev":false}],"package":"Go:github.com/t2bot/matrix-media-repo"}}