CVE-2023-49096: Argument Injection in FFmpeg codec parameters in Jellyfin

Published Dec 6, 2023
·
Updated

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.

Affected Software

1 affected component
Jellyfin Jellyfin<10.8.13

Event History

Dec 6, 2023
CVE Published
07:14 PM
Data Sourced
07:14 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2023-49096?

CVE-2023-49096 is classified as a moderate severity vulnerability.

2

How do I fix CVE-2023-49096?

To fix CVE-2023-49096, upgrade to Jellyfin version 10.8.13 or later.

3

What are the affected versions for CVE-2023-49096?

CVE-2023-49096 affects Jellyfin versions prior to 10.8.13.

4

What components are involved in CVE-2023-49096?

CVE-2023-49096 involves argument injection in the VideosController for specific streaming endpoints.

5

Is CVE-2023-49096 a risk for Jellyfin users?

Yes, users of affected versions are at risk due to the potential for argument injection attacks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203