{"id":"CVE-2024-25623","aliases":["CVE-2024-25623","BIT-MASTODON-2024-25623","GHSA-jhrq-qvrm-qr36"],"related":[],"kind":"vulnerability","state":"published","title":"Lack of media type verification of Activity Streams objects allows impersonation of remote accounts","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Mastodon es un servidor de red social gratuito y de código abierto basado en ActivityPub. Antes de las versiones 4.2.7, 4.1.15, 4.0.15 y 3.5.19, al recuperar estados remotos, Mastodon no verifica que la respuesta del servidor remoto tenga un valor de encabezado \"Tipo de contenido\" de los flujos de actividad. tipo de medio, que permite a un actor de amenazas cargar un documento de Activity Streams manipulado a un servidor remoto y hacer que un servidor Mastodon lo recupere, si el servidor remoto acepta cargas arbitrarias de usuarios. La vulnerabilidad permite a un actor de amenazas hacerse pasar por una cuenta en un servidor remoto que cumple con todas las siguientes propiedades: permite al atacante registrar una cuenta; acepta documentos arbitrarios subidos por usuarios y los coloca en el mismo dominio que los actores de ActivityPub; y proporciona documentos subidos por el usuario en respuesta a solicitudes con un valor de encabezado \"Aceptar\" del tipo de medio Activity Streams. Las versiones 4.2.7, 4.1.15, 4.0.15 y 3.5.19 contienen una solución para este problema.","source":"nvd"}],"published":"2024-02-19T15:28:15.296Z","modified":"2026-09-08T08:48:13.164Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","score":8.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","score":7.7,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-434"],"affected":[{"ranges":[{"version":"< 3.5.19","status":"affected"},{"version":">= 4.0.0, < 4.0.15","status":"affected"},{"version":">= 4.1.0, < 4.1.15","status":"affected"},{"version":">= 4.2.0, < 4.2.7","status":"affected"}],"vendor":"mastodon","product":"mastodon","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.5.19"},{"status":"affected","introduced":"4.0.0","fixed":"4.0.15"},{"status":"affected","introduced":"4.1.0","fixed":"4.1.15"},{"status":"affected","introduced":"4.2.0","fixed":"4.2.7"}],"vendor":"joinmastodon","product":"mastodon","cpe":"cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.5.19"},{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.0.15"},{"type":"semver","introduced":"4.1.0","status":"affected","fixed":"4.1.15"},{"type":"semver","introduced":"4.2.0","status":"affected","fixed":"4.2.7"}],"ecosystem":"Bitnami","package":"mastodon","purl":"pkg:bitnami/mastodon","source":"bitnami"}],"references":[{"url":"https://github.com/mastodon/mastodon/security/advisories/GHSA-jhrq-qvrm-qr36","tags":["advisory","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/mastodon/mastodon/commit/9fee5e852669e26f970e278021302e1a203fc022","tags":["fix","patch","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-25623","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-02-20T18:34:37.609Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-25623","url":"https://www.cve.org/CVERecord?id=CVE-2024-25623","licence":"CVE Terms of Use","modified":"2024-08-01T23:44:09.828Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-25623","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-25623","licence":"Public domain","modified":"2026-06-17T07:16:18.837Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MASTODON-2024-25623","url":"https://osv.dev/vulnerability/BIT-MASTODON-2024-25623","licence":"Apache-2.0","modified":"2026-09-08T08:48:13.164Z"}],"updatedAt":"2026-11-25T22:58:36.897Z","epss":{"score":0.00511,"percentile":0.45072,"date":"2026-12-01T12:00:22.000Z"}}