CVE-2023-49096

HIGH EPSS 65.7%
Published Dec 6, 20232y ago · Modified Jun 17, 20262w ago
8.8 CVSS 3.1
High
Find Similar
Published Dec 6, 2023 2y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
8.8
Exploitability
2.8
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
65.7% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-88

Affected Products 1

VendorProductVersionRange
jellyfinjellyfin* <10.8.13

References 6

  • cwe.mitre.org https://cwe.mitre.org/data/definitions/88.html
    Not Applicable
  • en.wikipedia.org https://en.wikipedia.org/wiki/Pass_the_hash
    Not Applicable
  • ffmpeg.org https://ffmpeg.org/ffmpeg-filters.html#drawtext-1
    Not Applicable
  • github.com https://github.com/jellyfin/jellyfin/commit/a656799dc879d16d21bf2ce7ad412ebd5d45394a
    Patch
  • github.com https://github.com/jellyfin/jellyfin/issues/5415
    Issue TrackingThird Party Advisory
  • github.com https://github.com/jellyfin/jellyfin/security/advisories/GHSA-866x-wj5j-2vf4
    ExploitVendor Advisory

Remediation

  • github.com https://github.com/jellyfin/jellyfin/commit/a656799dc879d16d21bf2ce7ad412ebd5d45394a
    Patch