High, CVSS 8.8NuGetPublished
Directory traversal + file write causing arbitrary code execution
CVE-2023-30626 · GHSA-9p5f-5x8v-x65m
- Affected
- NuGet jellyfin.controller >= 10.8.0, < 10.8.10
- Fixed in
- 10.8.10· Vendor fix available
- Issue
- Impact Frederic Linn (@FredericLinn) has reported a series of vulnerabilities that can result in directory traversal, file write, and potential remote code execution on Jellyfin instances. The general process involves chaining several exploits including a stored XSS vulnerability and can be used by an unprivileged user. The general process is (using the example of setting an intro video as the payload): Create a session as a low-priviledged user with a crafted authorization header Upload an executable that contains a malicious plugin inline via /ClientLog/Document (Admin hovers over our device in dashboard - XSS payload gets triggered) XSS Payload tries to set encoder path to our uploaded "log" file via /System/MediaEncoder/Path The request fails, but in the process our executable actually runs (I guess for verifying if the path points to a valid ffmpeg version) The executable will create a plugin folder and place the inlined plugin DLL inside it The XSS payload shuts down the server…
Recommended action: Upgrade to 10.8.10 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.