CVE-2024-52602
Server-Side Request Forgery (SSRF) on redirects and federation in Matrix Media Repo
- State
- Published
- Severity
- 5.0 Medium
- Published
- Jan 16, 2025
- Updated
- Feb 12, 2025
- Reserved
- Nov 14, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.0 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N | GitHub_M |
Weaknesses
- CWE-918 Server-Side Request Forgery (SSRF)
Affected Products
| Product | Versions |
|---|---|
matrix-media-repot2bot |
|
References
- https://github.com/t2bot/matrix-media-repo/security/advisories/GHSA-r6jg-jfv6-2fjv
- https://github.com/t2bot/matrix-media-repo/releases/tag/v1.3.8
- https://learn.snyk.io/lesson/ssrf-server-side-request-forgery
- https://owasp.org/www-community/attacks/Server_Side_Request_Forgery
- https://www.agwa.name/blog/post/preventing_server_side_request_forgery_in_golang
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.