一、 漏洞 CVE-2021-21402 基础信息
漏洞信息
                                        # Jellyfin中的未经身份验证的任意文件访问漏洞

## 漏洞概述
Jellyfin 是一个开源媒体系统,在 Jellyfin 版本 10.7.1 以前,特定端点的精心构造的请求允许从 Jellyfin 服务器文件系统中读取任意文件。此问题在使用 Windows 作为主机操作系统时更为明显。

## 影响版本
- 10.7.1 之前的版本

## 漏洞细节
精心构造的请求可以通过特定的端点从 Jellyfin 服务器的文件系统中读取任意文件。此漏洞在使用 Windows 作为主机操作系统时更为严重。暴露在公共互联网上的服务器可能面临风险。

## 影响
- 可以从服务器文件系统中读取任意文件
- 暴露在公共互联网上的服务器可能面临风险

## 修复建议
- 升级到版本 10.7.1
- 作为临时解决方案,可以通过严格的文件系统安全权限限制部分访问
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
Unauthenticated Arbitrary File Access in Jellyfin
来源:美国国家漏洞数据库 NVD
漏洞描述信息
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.
来源:美国国家漏洞数据库 NVD
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
来源:美国国家漏洞数据库 NVD
漏洞类别
对路径名的限制不恰当(路径遍历)
来源:美国国家漏洞数据库 NVD
漏洞标题
Jellyfin 路径遍历漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Jellyfin是一个免费软件媒体系统。可让您控制媒体的管理和流式传输。它是专有Emby和Plex的替代产品,可以通过多个应用程序将专用服务器中的媒体提供给最终用户设备。 Jellyfin before version 10.7.1存在安全漏洞,该漏洞源于精心制作的请求将允许从Jellyfin服务器的文件系统读取任意文件。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
路径遍历
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2021-21402 的公开POC
# POC 描述 源链接 神龙链接
1 CVE-2021-21402-Jellyfin-任意文件读取 https://github.com/jiaocoll/CVE-2021-21402-Jellyfin POC详情
2 本项目涉及到的仅为安全研究和授权情况下使用,其使用人员有责任和义务遵守当地法律条规。 https://github.com/somatrasss/CVE-2021-21402 POC详情
3 CVE-2021-21402 Jellyfin任意文件读取 Wker脚本,可批量。 https://github.com/givemefivw/CVE-2021-21402 POC详情
4 Jellyfin before 10.7.0 is vulnerable to local file inclusion. This issue is more prevalent when Windows is used as the host OS. Servers exposed to public Internet are potentially at risk. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-21402.yaml POC详情
5 None https://github.com/Threekiii/Awesome-POC/blob/master/Web%E5%BA%94%E7%94%A8%E6%BC%8F%E6%B4%9E/Jellyfin%20%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96%E6%BC%8F%E6%B4%9E%20CVE-2021-21402.md POC详情
三、漏洞 CVE-2021-21402 的情报信息