CVE-2023-49096
Jellyfin FFmpeg Argument Injection Vulnerability
Description
Jellyfin is a Free Software Media System for managing and streaming media. In affected versions there is an argument injection in the VideosController, specifically the `/Videos/<itemId>/stream` and `/Videos/<itemId>/stream.<container>` endpoints which are present in the current Jellyfin version. Additional endpoints in the AudioController might also be vulnerable, as they differ only slightly in execution. Those endpoints are reachable by an unauthenticated user. In order to exploit this vulnerability an unauthenticated attacker has to guess an itemId, which is a completely random GUID. It’s a very unlikely case even for a large media database with lots of items. Without an additional information leak, this vulnerability shouldn’t be directly exploitable, even if the instance is reachable from the Internet. There are a lot of query parameters that get accepted by the method. At least two of those, videoCodec and audioCodec are vulnerable to the argument injection. The values can be traced through a lot of code and might be changed in the process. However, the fallback is to always use them as-is, which means we can inject our own arguments. Those arguments land in the command line of FFmpeg. Because UseShellExecute is always set to false, we can’t simply terminate the FFmpeg command and execute our own. It should only be possible to add additional arguments to FFmpeg, which is powerful enough as it stands. There is probably a way of overwriting an arbitrary file with malicious content. This vulnerability has been addressed in version 10.8.13. Users are advised to upgrade. There are no known workarounds for this vulnerability.
INFO
Published Date :
Dec. 6, 2023, 8:15 p.m.
Last Modified :
Dec. 12, 2023, 4:09 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-49096
.
URL | Resource |
---|---|
https://cwe.mitre.org/data/definitions/88.html | Not Applicable |
https://en.wikipedia.org/wiki/Pass_the_hash | Not Applicable |
https://ffmpeg.org/ffmpeg-filters.html#drawtext-1 | Not Applicable |
https://github.com/jellyfin/jellyfin/commit/a656799dc879d16d21bf2ce7ad412ebd5d45394a | Patch |
https://github.com/jellyfin/jellyfin/issues/5415 | Issue Tracking Third Party Advisory |
https://github.com/jellyfin/jellyfin/security/advisories/GHSA-866x-wj5j-2vf4 | Exploit Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-49096
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-49096
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Dec. 12, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://cwe.mitre.org/data/definitions/88.html No Types Assigned https://cwe.mitre.org/data/definitions/88.html Not Applicable Changed Reference Type https://en.wikipedia.org/wiki/Pass_the_hash No Types Assigned https://en.wikipedia.org/wiki/Pass_the_hash Not Applicable Changed Reference Type https://ffmpeg.org/ffmpeg-filters.html#drawtext-1 No Types Assigned https://ffmpeg.org/ffmpeg-filters.html#drawtext-1 Not Applicable Changed Reference Type https://github.com/jellyfin/jellyfin/commit/a656799dc879d16d21bf2ce7ad412ebd5d45394a No Types Assigned https://github.com/jellyfin/jellyfin/commit/a656799dc879d16d21bf2ce7ad412ebd5d45394a Patch Changed Reference Type https://github.com/jellyfin/jellyfin/issues/5415 No Types Assigned https://github.com/jellyfin/jellyfin/issues/5415 Issue Tracking, Third Party Advisory Changed Reference Type https://github.com/jellyfin/jellyfin/security/advisories/GHSA-866x-wj5j-2vf4 No Types Assigned https://github.com/jellyfin/jellyfin/security/advisories/GHSA-866x-wj5j-2vf4 Exploit, Vendor Advisory Added CPE Configuration OR *cpe:2.3:a:jellyfin:jellyfin:*:*:*:*:*:*:*:* versions up to (excluding) 10.8.13 -
CVE Received by [email protected]
Dec. 06, 2023
Action Type Old Value New Value Added Description Jellyfin is a Free Software Media System for managing and streaming media. In affected versions there is an argument injection in the VideosController, specifically the `/Videos/<itemId>/stream` and `/Videos/<itemId>/stream.<container>` endpoints which are present in the current Jellyfin version. Additional endpoints in the AudioController might also be vulnerable, as they differ only slightly in execution. Those endpoints are reachable by an unauthenticated user. In order to exploit this vulnerability an unauthenticated attacker has to guess an itemId, which is a completely random GUID. It’s a very unlikely case even for a large media database with lots of items. Without an additional information leak, this vulnerability shouldn’t be directly exploitable, even if the instance is reachable from the Internet. There are a lot of query parameters that get accepted by the method. At least two of those, videoCodec and audioCodec are vulnerable to the argument injection. The values can be traced through a lot of code and might be changed in the process. However, the fallback is to always use them as-is, which means we can inject our own arguments. Those arguments land in the command line of FFmpeg. Because UseShellExecute is always set to false, we can’t simply terminate the FFmpeg command and execute our own. It should only be possible to add additional arguments to FFmpeg, which is powerful enough as it stands. There is probably a way of overwriting an arbitrary file with malicious content. This vulnerability has been addressed in version 10.8.13. Users are advised to upgrade. There are no known workarounds for this vulnerability. Added Reference GitHub, Inc. https://github.com/jellyfin/jellyfin/security/advisories/GHSA-866x-wj5j-2vf4 [No types assigned] Added Reference GitHub, Inc. https://github.com/jellyfin/jellyfin/issues/5415 [No types assigned] Added Reference GitHub, Inc. https://github.com/jellyfin/jellyfin/commit/a656799dc879d16d21bf2ce7ad412ebd5d45394a [No types assigned] Added Reference GitHub, Inc. https://cwe.mitre.org/data/definitions/88.html [No types assigned] Added Reference GitHub, Inc. https://en.wikipedia.org/wiki/Pass_the_hash [No types assigned] Added Reference GitHub, Inc. https://ffmpeg.org/ffmpeg-filters.html#drawtext-1 [No types assigned] Added CWE GitHub, Inc. CWE-88 Added CVSS V3.1 GitHub, Inc. AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-49096
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-49096
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.08 }} 0.01%
score
0.33730
percentile