CVE-2024-36402: matrix-media-repo (MMR) allows unauthenticated writes to the media repository, which may allow planting of problematic content
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.33258%
CWE
Published
1/16/2025
Updated
1/17/2025
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/t2bot/matrix-media-repo | go | < 1.3.5 | 1.3.5 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from two key aspects: 1) Unauthenticated client-facing media endpoints that allowed triggering remote media caching, and 2) Federation handlers that accepted media without proper authentication. The first function
represents the client-facing API endpoints (/_matrix/media/*) that lacked authentication checks before 1.3.5. The second function
relates to federation pathways that may have allowed unauthorized media storage. Confidence is high for the client endpoints based on explicit patch notes about adding authenticated alternatives, and medium for federation handling based on the vulnerability's remote attack vector description.