CVE-2024-36403
Last modified
CVE-2024-36403 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Matrix Media Repo (MMR) is a highly configurable multi-homeserver media repository for Matrix. MMR before version 1.3.5 is vulnerable to unbounded disk consumption, where an unauthenticated adversary can induce it to download and cache large amounts of remote media files. EPSS estimates a 0.68% chance of exploitation in the next 30 days.
Description
Matrix Media Repo (MMR) is a highly configurable multi-homeserver media repository for Matrix. MMR before version 1.3.5 is vulnerable to unbounded disk consumption, where an unauthenticated adversary can induce it to download and cache large amounts of remote media files. MMR's typical operating environment uses S3-like storage as a backend, with file-backed store as an alternative option. Instances using a file-backed store or those which self-host an S3 storage system are therefore vulnerable to a disk fill attack. Once the disk is full, authenticated users will be unable to upload new media, resulting in denial of service. For instances configured to use a cloud-based S3 storage option, this could result in high service fees instead of a denial of service. MMR 1.3.5 introduces a new default-on "leaky bucket" rate limit to reduce the amount of data a user can request at a time. This does not fully address the issue, but does limit an unauthenticated user's ability to request large amounts of data. Operators should note that the leaky bucket implementation introduced in MMR 1.3.5 requires the IP address associated with the request to be forwarded, to avoid mistakenly applying the rate limit to the reverse proxy instead. To avoid this issue, the reverse proxy should populate the X-Forwarded-For header when sending the request to MMR. Operators who cannot update may wish to lower the maximum file size they allow and implement harsh rate limits, though this can still lead to a large amount of data to be downloaded.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| T2bot | Matrix-Media-Repo | < 1.3.5 |
References
- https://en.wikipedia.org/wiki/Leaky_bucket#As_a_meterTechnical Description
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-36403?
How severe is CVE-2024-36403?
How do I fix CVE-2024-36403?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-36398A vulnerability has been identified in SINEC NMS (All versio…7.8
- CVE-2024-36399Kanboard is project management software that focuses on the …6.3
- CVE-2024-3640An unquoted executable path exists in the Rockwell Automatio…7
- CVE-2024-36400nano-id is a unique string ID generator for Rust. Affected v…9.8
- CVE-2024-36401GeoServer is an open source server that allows users to shar…9.8
- CVE-2024-36402Matrix Media Repo (MMR) is a highly configurable multi-homes…5.3
- CVE-2024-36404GeoTools is an open source Java library that provides tools …9.8
- CVE-2024-36405liboqs is a C-language cryptographic library that provides i…7.5
- CVE-2024-36406SuiteCRM is an open-source Customer Relationship Management …5.4
- CVE-2024-36407SuiteCRM is an open-source Customer Relationship Management …6.5
- CVE-2024-36408SuiteCRM is an open-source Customer Relationship Management …8.8
- CVE-2024-36409SuiteCRM is an open-source Customer Relationship Management …8.8
Are you affected by CVE-2024-36403?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
