Arbitrary file upload in Misskey
CVE-2024-25636
Misskey is an open source, decentralized social media platform with ActivityPub support. Prior to version 2024.2.0, when fetching remote Activity Streams objects, Misskey doesn't check that the response from the remote server has a `Content-Type` header value of the Activity Streams media type, which allows a threat actor to upload a crafted Activity Streams document to a remote server and make a Misskey instance fetch it, if the remote server accepts arbitrary user uploads. The vulnerability allows a threat actor to impersonate and take over an account on a remote server that satisfies all of the following properties: allows the threat actor to register an account; accepts arbitrary user-uploaded documents and places them on the same domain as legitimate Activity Streams actors; and serves user-uploaded document in response to requests with an `Accept` header value of the Activity Streams media type. Version 2024.2.0 contains a patch for the issue.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N.
EPSS exploit prediction
EPSS: 0.007 (49.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 49th percentile — 49.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
Affected products
- Misskey
- Misskey-Dev Misskey — versions < 2024.2.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/misskey-dev/misskey/security/advisories/GHSA-qqrm-9grj-6v32 (Vendor Advisory)
- github.com/misskey-dev/misskey/commit/9a70ce8f5ea9df00001894809f5ce7bc69b14c8a (Patch)
- github.com/misskey-dev/misskey/blob/2024.2.0-beta.10/packages/backend/src/core/… (Product)
- github.com/misskey-dev/misskey/blob/2024.2.0-beta.10/packages/backend/src/core/… (Product)
- github.com/misskey-dev/misskey/blob/2024.2.0-beta.10/packages/backend/src/serve… (Product)
Frequently asked questions
- What is CVE-2024-25636?
- CVE-2024-25636 is a high-severity vulnerability in Misskey, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 7.1/10. Published 2024-02-19.
- How severe is CVE-2024-25636?
- High severity. CVSS v3 base score is 7.1 out of 10.
- Is CVE-2024-25636 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.