• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions Possible security issue?

     
    • 0 Vote(s) - 0 Average

    Possible security issue?

    Hotlinks to media files may work with no auth credentials
    JoeG
    Offline

    Junior Member

    Posts: 4
    Threads: 3
    Joined: 2025 Feb
    Reputation: 0
    #1
    2025-02-17, 02:09 AM (This post was last modified: 2025-02-17, 02:56 PM by TheDreadPirate. Edited 1 time in total.)
    Just something I stumbled on today...

    If I click the 3 dots next to a song, tv show, etc, and use the Copy Stream URL option and then paste it into an incognito browser, it downloads the file without me having to authenticate.  My expectation is that the file would be blocked or I would at least get a login page. 

    Here is a typical URL: http://{IP - Censored by TDP}:8096/Items/7dfe409daf79f5b4815786ac9e0a5898/Download?api_key={API_KEY - Censored by TDP} (This is not a valid URL.  Just an example.) 

    If I mess with the Items key, I get the correct error returned via JSON.
    If I mess with the api_key, it returns a 401 error in the console. 

    It seems like the api_key is not necessarily checking for a valid session before sending the file?
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Possible security issue? - by JoeG - 2025-02-17, 02:09 AM
    RE: Possible security issue? - by TheDreadPirate - 2025-02-17, 02:55 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode