CVE-2021-21402
HIGH EXPLOITED NUCLEIJellyfin < 10.7.1 - Unauthenticated Arbitrary File Read via Path Traversal
Title source: llmExploitation Summary
CVE-2021-21402 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 3 public exploits from researchers including jiaocoll, givemefivw, somatrasss. A Nuclei detection template is also available.
AI-analyzed exploit summary This PoC exploits CVE-2021-21402, an arbitrary file read vulnerability in Jellyfin via a path traversal attack. It sends crafted HTTP requests to retrieve sensitive files (e.g., jellyfin.db) by abusing the `/Audio/anything/hls/..%5Cdata%5Cjellyfin.db/stream.mp3/` endpoint.
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.
Exploits (3)
This PoC exploits CVE-2021-21402, an arbitrary file read vulnerability in Jellyfin via a path traversal attack. It sends crafted HTTP requests to retrieve sensitive files (e.g., jellyfin.db) by abusing the `/Audio/anything/hls/..%5Cdata%5Cjellyfin.db/stream.mp3/` endpoint.
This repository contains a functional exploit script for CVE-2021-21402, a Jellyfin arbitrary file read vulnerability. The script uses a path traversal technique to read the 'win.ini' file via a crafted GET request.
The repository contains a functional Python script that exploits CVE-2021-21402, an arbitrary file read vulnerability in Jellyfin versions prior to 10.7.1. The exploit constructs specific paths to read sensitive files like jellyfin.db and win.ini by leveraging directory traversal via encoded backslashes.
Nuclei Templates (1)
http.html:"Jellyfin" || http.html:"jellyfin" || http.title:"jellyfin"
title="Jellyfin" || body="http://jellyfin.media" || title="jellyfin" || body="jellyfin" || title="jellyfin" || body="http://jellyfin.media"
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N