CVE-2024-25636: Lack of media type verification of Activity Streams objects allows impersonation and takeover of remote accounts
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Misskeyto a version that resolves this vulnerability.Fixed in 2024.2.0
Event History
Frequently Asked Questions
What is the severity of CVE-2024-25636?
CVE-2024-25636 is categorized as a medium severity vulnerability due to its potential impact on data integrity.
How do I fix CVE-2024-25636?
To fix CVE-2024-25636, upgrade your Misskey instance to version 2024.2.0 or later.
What does CVE-2024-25636 affect?
CVE-2024-25636 affects Misskey versions prior to 2024.2.0 when fetching remote Activity Streams objects.
What are the implications of CVE-2024-25636?
CVE-2024-25636 can lead to improper content handling from untrusted sources, potentially allowing for exploitative actions.
Is CVE-2024-25636 exploitable remotely?
Yes, CVE-2024-25636 is considered exploitable remotely, as it involves fetching data from remote servers without proper content type validation.