CVE-2024-49363

Uncontrolled Recursion and Asymmetric Resource Consumption (Amplification) in media/file proxy in Misskey

State
Published
Severity
7.4 High
Published
Dec 18, 2024
Updated
Dec 19, 2024
Reserved
Oct 14, 2024

Read the record on cve.org

Description

Misskey is an open source, federated social media platform. In affected versions FileServerService (media proxy) in github.com/misskey-dev/misskey 2024.10.1 or earlier did not detect proxy loops, which allows remote actors to execute a self-propagating reflected/amplified distributed denial-of-service via a maliciously crafted note. FileServerService.prototype.proxyHandler did not check incoming requests are not coming from another proxy server. An attacker can execute an amplified denial-of-service by sending a nested proxy request to the server and end the request with a malicious redirect back to another nested proxy request. Leading to unbounded recursion until the original request is timed out. This issue has been addressed in version 2024.11.0-alpha.3. Users are advised to upgrade. Users unable to upgrade may configure the reverse proxy to block requests to the proxy with an empty User-Agent header or one containing Misskey/. An attacker can not effectively modify the User-Agent header without making another request to the server.

Scores

CVSSScoreVectorSource
3.17.4 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:HGitHub_M

Weaknesses

  • CWE-405 Asymmetric Resource Consumption (Amplification)
  • CWE-674 Uncontrolled Recursion

Affected Products

ProductVersions
misskeymisskey-dev
  • < CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:HAffected

References

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.