CVE-2024-52602
T2bot Matrix-media-repo vulnerability
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 products
Matrix-media-repo. The exact versions are in the references.
What to do now
- Check your exposureFind out whether T2bot Matrix-media-repo runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/t2bot/matrix-media-repo/security/advisories/GHSA-r6jg-jfv6-2fjv · Vendor Advisory
- github.com/t2bot/matrix-media-repo/releases/tag/v1.3.8
- learn.snyk.io/lesson/ssrf-server-side-request-forgery
- owasp.org/www-community/attacks/Server_Side_Request_Forgery
- www.agwa.name/blog/post/preventing_server_side_request_forgery_in_golang
- nvd.nist.gov/vuln/detail/CVE-2024-52602
- pkg.go.dev/vuln/GO-2025-3399
- github.com/advisories/GHSA-r6jg-jfv6-2fjv
- nvd.nist.gov/vuln/detail/CVE-2024-52602
- cve.org/CVERecord?id=CVE-2024-52602
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.