Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2024-25623

Summary
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
Published At-19 Feb, 2024 | 15:28
Updated At-01 Aug, 2024 | 23:44
Rejected At-
Credits

Lack of media type verification of Activity Streams objects allows impersonation of remote accounts

Mastodon is a free, open-source social network server based on ActivityPub. Prior to versions 4.2.7, 4.1.15, 4.0.15, and 3.5.19, when fetching remote statuses, Mastodon 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 Mastodon server fetch it, if the remote server accepts arbitrary user uploads. The vulnerability allows a threat actor to impersonate an account on a remote server that satisfies all of the following properties: allows the attacker to register an account; accepts arbitrary user-uploaded documents and places them on the same domain as the ActivityPub actors; and serves user-uploaded document in response to requests with an `Accept` header value of the Activity Streams media type. Versions 4.2.7, 4.1.15, 4.0.15, and 3.5.19 contain a fix for this issue.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:GitHub_M
Assigner Org ID:a0819718-46f1-4df5-94e2-005712e83aaa
Published At:19 Feb, 2024 | 15:28
Updated At:01 Aug, 2024 | 23:44
Rejected At:
▼CVE Numbering Authority (CNA)
Lack of media type verification of Activity Streams objects allows impersonation of remote accounts

Mastodon is a free, open-source social network server based on ActivityPub. Prior to versions 4.2.7, 4.1.15, 4.0.15, and 3.5.19, when fetching remote statuses, Mastodon 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 Mastodon server fetch it, if the remote server accepts arbitrary user uploads. The vulnerability allows a threat actor to impersonate an account on a remote server that satisfies all of the following properties: allows the attacker to register an account; accepts arbitrary user-uploaded documents and places them on the same domain as the ActivityPub actors; and serves user-uploaded document in response to requests with an `Accept` header value of the Activity Streams media type. Versions 4.2.7, 4.1.15, 4.0.15, and 3.5.19 contain a fix for this issue.

Affected Products
Vendor
mastodon
Product
mastodon
Versions
Affected
  • < 3.5.19
  • >= 4.0.0, < 4.0.15
  • >= 4.1.0, < 4.1.15
  • >= 4.2.0, < 4.2.7
Problem Types
TypeCWE IDDescription
CWECWE-434CWE-434: Unrestricted Upload of File with Dangerous Type
Type: CWE
CWE ID: CWE-434
Description: CWE-434: Unrestricted Upload of File with Dangerous Type
Metrics
VersionBase scoreBase severityVector
3.18.5HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
Version: 3.1
Base score: 8.5
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/mastodon/mastodon/security/advisories/GHSA-jhrq-qvrm-qr36
x_refsource_CONFIRM
https://github.com/mastodon/mastodon/commit/9fee5e852669e26f970e278021302e1a203fc022
x_refsource_MISC
Hyperlink: https://github.com/mastodon/mastodon/security/advisories/GHSA-jhrq-qvrm-qr36
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/mastodon/mastodon/commit/9fee5e852669e26f970e278021302e1a203fc022
Resource:
x_refsource_MISC
▼Authorized Data Publishers (ADP)
1. CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
2. CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/mastodon/mastodon/security/advisories/GHSA-jhrq-qvrm-qr36
x_refsource_CONFIRM
x_transferred
https://github.com/mastodon/mastodon/commit/9fee5e852669e26f970e278021302e1a203fc022
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/mastodon/mastodon/security/advisories/GHSA-jhrq-qvrm-qr36
Resource:
x_refsource_CONFIRM
x_transferred
Hyperlink: https://github.com/mastodon/mastodon/commit/9fee5e852669e26f970e278021302e1a203fc022
Resource:
x_refsource_MISC
x_transferred
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:security-advisories@github.com
Published At:19 Feb, 2024 | 16:15
Updated At:18 Dec, 2024 | 22:39

Mastodon is a free, open-source social network server based on ActivityPub. Prior to versions 4.2.7, 4.1.15, 4.0.15, and 3.5.19, when fetching remote statuses, Mastodon 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 Mastodon server fetch it, if the remote server accepts arbitrary user uploads. The vulnerability allows a threat actor to impersonate an account on a remote server that satisfies all of the following properties: allows the attacker to register an account; accepts arbitrary user-uploaded documents and places them on the same domain as the ActivityPub actors; and serves user-uploaded document in response to requests with an `Accept` header value of the Activity Streams media type. Versions 4.2.7, 4.1.15, 4.0.15, and 3.5.19 contain a fix for this issue.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary3.18.5HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
Primary3.17.7HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Type: Secondary
Version: 3.1
Base score: 8.5
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
Type: Primary
Version: 3.1
Base score: 7.7
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
CPE Matches

joinmastodon
joinmastodon
>>mastodon>>Versions before 3.5.19(exclusive)
cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
joinmastodon
joinmastodon
>>mastodon>>Versions from 4.0.0(inclusive) to 4.0.15(exclusive)
cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
joinmastodon
joinmastodon
>>mastodon>>Versions from 4.1.0(inclusive) to 4.1.15(exclusive)
cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
joinmastodon
joinmastodon
>>mastodon>>Versions from 4.2.0(inclusive) to 4.2.7(exclusive)
cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
CWE-434Secondarysecurity-advisories@github.com
CWE-434Primarynvd@nist.gov
CWE ID: CWE-434
Type: Secondary
Source: security-advisories@github.com
CWE ID: CWE-434
Type: Primary
Source: nvd@nist.gov
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/mastodon/mastodon/commit/9fee5e852669e26f970e278021302e1a203fc022security-advisories@github.com
Patch
https://github.com/mastodon/mastodon/security/advisories/GHSA-jhrq-qvrm-qr36security-advisories@github.com
Vendor Advisory
https://github.com/mastodon/mastodon/commit/9fee5e852669e26f970e278021302e1a203fc022af854a3a-2127-422b-91ae-364da2661108
Patch
https://github.com/mastodon/mastodon/security/advisories/GHSA-jhrq-qvrm-qr36af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory
Hyperlink: https://github.com/mastodon/mastodon/commit/9fee5e852669e26f970e278021302e1a203fc022
Source: security-advisories@github.com
Resource:
Patch
Hyperlink: https://github.com/mastodon/mastodon/security/advisories/GHSA-jhrq-qvrm-qr36
Source: security-advisories@github.com
Resource:
Vendor Advisory
Hyperlink: https://github.com/mastodon/mastodon/commit/9fee5e852669e26f970e278021302e1a203fc022
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Patch
Hyperlink: https://github.com/mastodon/mastodon/security/advisories/GHSA-jhrq-qvrm-qr36
Source: af854a3a-2127-422b-91ae-364da2661108
Resource:
Vendor Advisory

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found